Skip to content

Commit

Permalink
chore: fix checks
Browse files Browse the repository at this point in the history
  • Loading branch information
yashasvibajpai committed Sep 2, 2024
1 parent 39c81c1 commit 6368761
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/v1/sources/shopify/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,9 +429,9 @@ const processIdentifierEvent = async (event, metricMetadata) => {

function processPixelEvent(inputEvent) {
const { name, query_parameters, clientId, data } = inputEvent;

Check warning on line 431 in src/v1/sources/shopify/transform.js

View check run for this annotation

Codecov / codecov/patch

src/v1/sources/shopify/transform.js#L430-L431

Added lines #L430 - L431 were not covered by tests
const { checkout } = data;
const { order } = checkout;
const { customer } = order;
const { checkout } = data ?? {};
const { order } = checkout ?? {};
const { customer } = order ?? {};
let message;
switch (name) {
case PIXEL_EVENT_TOPICS.PAGE_VIEWED:
Expand Down

0 comments on commit 6368761

Please sign in to comment.