Skip to content

Commit

Permalink
fix: small edit
Browse files Browse the repository at this point in the history
  • Loading branch information
shrouti1507 committed Dec 22, 2023
1 parent 9f4ef9a commit 7bd3621
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7bd3621

Please sign in to comment.