Skip to content

Commit

Permalink
fix: lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsSudip committed Jul 24, 2024
1 parent d74178f commit 1f9b83f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/v0/util/googleUtils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ const getAuthErrCategory = ({ response, status }) => {
if (!Array.isArray(response)) {
respArr = [response];
}
const authenticationError = respArr.map((resp) => get(resp, 'error.details.0.errors.0.errorCode.authenticationError'));
const authenticationError = respArr.map((resp) =>
get(resp, 'error.details.0.errors.0.errorCode.authenticationError'),
);
if (authenticationError.includes('TWO_STEP_VERIFICATION_NOT_ENROLLED')) {
// https://developers.google.com/google-ads/api/docs/oauth/2sv
return AUTH_STATUS_INACTIVE;
Expand Down

0 comments on commit 1f9b83f

Please sign in to comment.