From 9ad83ce83396bb9f4436e6a741b5da0613086e71 Mon Sep 17 00:00:00 2001 From: Vikas26021999 <79831638+Vikas26021999@users.noreply.github.com> Date: Wed, 29 May 2024 13:21:24 +0530 Subject: [PATCH] Update src/v0/destinations/google_adwords_remarketing_lists/recordTransform.js Co-authored-by: Sudip Paul <67197965+ItsSudip@users.noreply.github.com> --- .../google_adwords_remarketing_lists/recordTransform.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/v0/destinations/google_adwords_remarketing_lists/recordTransform.js b/src/v0/destinations/google_adwords_remarketing_lists/recordTransform.js index 7a28fcf4ec..ea1a8dbe48 100644 --- a/src/v0/destinations/google_adwords_remarketing_lists/recordTransform.js +++ b/src/v0/destinations/google_adwords_remarketing_lists/recordTransform.js @@ -92,10 +92,7 @@ const processRecordEventArray = ( }; async function processRecordInputs(groupedRecordInputs) { - const { destination } = groupedRecordInputs[0]; - const { message } = groupedRecordInputs[0]; - - const { metadata } = groupedRecordInputs[0]; + const { destination, message, metadata } = groupedRecordInputs[0]; const accessToken = getAccessToken(metadata, 'access_token'); const developerToken = getValueFromMessage(metadata, 'secret.developer_token');