Skip to content

Commit

Permalink
chore: es-lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mihir-4116 committed Oct 4, 2023
1 parent 1dde9a8 commit 42f3574
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 42f3574

Please sign in to comment.