From 42f35747aeef6b98a82bc9a5da673f63b2b29335 Mon Sep 17 00:00:00 2001 From: mihir-4116 Date: Wed, 4 Oct 2023 14:49:05 +0530 Subject: [PATCH] chore: es-lint fix --- .../google_adwords_remarketing_lists/networkHandler.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/v0/destinations/google_adwords_remarketing_lists/networkHandler.js b/src/v0/destinations/google_adwords_remarketing_lists/networkHandler.js index f1b04b79b6..563e8b80a6 100644 --- a/src/v0/destinations/google_adwords_remarketing_lists/networkHandler.js +++ b/src/v0/destinations/google_adwords_remarketing_lists/networkHandler.js @@ -150,10 +150,10 @@ const gaAudienceRespHandler = (destResponse, stageMsg) => { const responseHandler = (destinationResponse) => { const message = `Request Processed Successfully`; - const { status } = destinationResponse; + const { status, response } = destinationResponse; if (isHttpStatusSuccess(status)) { // for google ads offline conversions the partialFailureError returns with status 200 - const { partialFailureError } = destinationResponse.response; + const { partialFailureError } = response; // non-zero code signifies partialFailure // Ref - https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto if (partialFailureError && partialFailureError.code !== 0) {