Skip to content

Commit

Permalink
Update src/v1/sources/shopify/commonUtils.js
Browse files Browse the repository at this point in the history
Co-authored-by: Sudip Paul <[email protected]>
  • Loading branch information
anantjain45823 and ItsSudip authored Nov 30, 2023
1 parent 155782d commit 832147d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v1/sources/shopify/commonUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const getShopifyTopic = (event) => {
*/
const getLineItems = (cartEvent) => {
const lineItems = {};
if (cartEvent?.line_items?.length > 0) {
if (cartEvent.line_items?.length > 0) {
// eslint-disable-next-line @typescript-eslint/naming-convention
const { line_items } = cartEvent;
line_items.forEach((element) => {
Expand Down

0 comments on commit 832147d

Please sign in to comment.