Skip to content

Commit

Permalink
update console logging in sync
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkevingreen committed Sep 21, 2020
1 parent 775d7d1 commit c8aede6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/lambda/shopify-sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export const handler = async (event: APIGatewayEvent): Promise<any> => {
const { productId, variantTitle, variantId } = v.content.shopify
const { id, title, product_id } = data.variants[i]
if (productId !== product_id || variantId !== id || variantTitle !== title) {
console.log('variant different')
console.log(`variant ${variantId} of ${variantTitle} has changed`)
triggerRebuild = true
}
})
Expand Down

0 comments on commit c8aede6

Please sign in to comment.