From e00bd353e19d4c92d13047ffe230414f80414385 Mon Sep 17 00:00:00 2001 From: shrouti1507 <60211312+shrouti1507@users.noreply.github.com> Date: Wed, 17 Apr 2024 11:50:52 +0530 Subject: [PATCH] Update src/cdk/v2/destinations/bluecore/utils.js Co-authored-by: Sankeerth --- src/cdk/v2/destinations/bluecore/utils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cdk/v2/destinations/bluecore/utils.js b/src/cdk/v2/destinations/bluecore/utils.js index c93aaf6ef7..a2e56331b6 100644 --- a/src/cdk/v2/destinations/bluecore/utils.js +++ b/src/cdk/v2/destinations/bluecore/utils.js @@ -181,7 +181,7 @@ const mapCustomProperties = (message) => { ); break; case 'TRACK': - customProperties.properties.customer = extractCustomFields( + const customerProperties = extractCustomFields( message, {}, ['traits', 'context.traits'], @@ -193,6 +193,7 @@ const mapCustomProperties = (message) => { ['properties'], TRACK_EXCLUSION_LIST, ); + customProperties.properties.customer = customerProperties; break; default: break;