Skip to content

Commit

Permalink
fix: tertiary condition
Browse files Browse the repository at this point in the history
  • Loading branch information
anantjain45823 committed Jun 25, 2024
1 parent b7033e4 commit 0b987b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/v0/destinations/klaviyo/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,8 @@ const trackRequestHandler = (message, category, destination) => {
// Map user properties to profile object
const customerProp =
useUpdatedKlaviyoAPI || useUpdatedKlaviyo
? createCustomerProperties(message, destination.Config)
: createCustomerPropertiesV2(message, destination.Config);
? createCustomerPropertiesV2(message, destination.Config)

Check warning on line 322 in src/v0/destinations/klaviyo/transform.js

View check run for this annotation

Codecov / codecov/patch

src/v0/destinations/klaviyo/transform.js#L322

Added line #L322 was not covered by tests
: createCustomerProperties(message, destination.Config);
attributes.profile = {
...customerProp,
...populateCustomFieldsFromTraits(message),
Expand Down

0 comments on commit 0b987b4

Please sign in to comment.