Skip to content

Commit

Permalink
Update sync.controller.js
Browse files Browse the repository at this point in the history
  • Loading branch information
leungkinghin-ct committed Sep 14, 2023
1 parent 16a00eb commit aea1a61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion full-ingestion/src/controllers/sync.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async function syncProducts(storeKey) {
for (let productInCurrentStore of products) {
let productToBeSynced = undefined;
productToBeSynced = await getProductProjectionInStoreById(
storeKey,
storeKey,
productInCurrentStore.id
).catch(async (error) => {
// Product cannot be found in store assignment. Need to remove product in external search index
Expand Down

0 comments on commit aea1a61

Please sign in to comment.