From 7bd362119a9439c5384ce4e9719b8dbebfa5679a Mon Sep 17 00:00:00 2001 From: shrouti1507 Date: Fri, 22 Dec 2023 11:33:04 +0530 Subject: [PATCH] fix: small edit --- .../google_adwords_offline_conversions/transform.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v0/destinations/google_adwords_offline_conversions/transform.js b/src/v0/destinations/google_adwords_offline_conversions/transform.js index 579881cf77..34ef819349 100644 --- a/src/v0/destinations/google_adwords_offline_conversions/transform.js +++ b/src/v0/destinations/google_adwords_offline_conversions/transform.js @@ -62,7 +62,7 @@ const getConversions = (message, metadata, { Config }, event, conversionType) => const consentObject = populateConsentForGoogleDestinations(properties); if (Object.keys(consentObject).length > 0) { - payload.conversions[0].consent = populateConsentForGoogleDestinations(properties); + payload.conversions[0].consent = consentObject; } if (conversionType !== 'store') { // transform originalTimestamp to conversionDateTime format (yyyy-mm-dd hh:mm:ss+|-hh:mm)