From a88b017336c9df9c2c7047c6e49b14362622a0dd Mon Sep 17 00:00:00 2001 From: AASHISH MALIK Date: Fri, 3 May 2024 19:31:59 +0530 Subject: [PATCH] chore: refactoring --- src/v1/destinations/campaign_manager/networkHandler.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/v1/destinations/campaign_manager/networkHandler.js b/src/v1/destinations/campaign_manager/networkHandler.js index 6b3ace89d1..8a006ca45c 100644 --- a/src/v1/destinations/campaign_manager/networkHandler.js +++ b/src/v1/destinations/campaign_manager/networkHandler.js @@ -35,8 +35,7 @@ function isEventAbortableAndExtractErrMsg(element, proxyOutputObj) { } const responseHandler = (responseParams) => { - const { destinationResponse, rudderJobMetadata } = responseParams; - const {logger} = responseParams; + const { destinationResponse, rudderJobMetadata, logger } = responseParams; const message = `[CAMPAIGN_MANAGER Response V1 Handler] - Request Processed Successfully`; const responseWithIndividualEvents = []; const { response, status } = destinationResponse;