Skip to content

Commit

Permalink
chore: code review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mihir-4116 committed Sep 28, 2023
1 parent 370b28f commit 8203b49
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,13 @@ const gaAudienceProxyRequest = async (request) => {
return firstResponse;
}

if (isHttpStatusSuccess(firstResponse?.response?.status)) {
const { partialFailureError } = firstResponse.response.data;
if (partialFailureError && partialFailureError.code !== 0) {
return firstResponse;
}
}

// step2: putting users into the job
let jobId;
if (firstResponse?.response?.data?.resourceName)
Expand Down

0 comments on commit 8203b49

Please sign in to comment.