From 0b987b48dd70874f92ed4934c9597d416f8a20bb Mon Sep 17 00:00:00 2001 From: Anant Jain Date: Tue, 25 Jun 2024 16:27:58 +0530 Subject: [PATCH] fix: tertiary condition --- src/v0/destinations/klaviyo/transform.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/v0/destinations/klaviyo/transform.js b/src/v0/destinations/klaviyo/transform.js index 4db800051a..8934c5cfe7 100644 --- a/src/v0/destinations/klaviyo/transform.js +++ b/src/v0/destinations/klaviyo/transform.js @@ -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) + : createCustomerProperties(message, destination.Config); attributes.profile = { ...customerProp, ...populateCustomFieldsFromTraits(message),