Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
Update condition check
Browse files Browse the repository at this point in the history
  • Loading branch information
gastonyelmini committed May 20, 2024
1 parent fc36002 commit 9defc5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/google-cloud/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export class Client {
const status =
err.response?.status !== undefined ? err.response?.status : err.status;

if ((status === 403 || status === 404) && !isQuotaLimitError(err)) {
if ((status == 403 || status == 404) && !isQuotaLimitError(err)) {
isAuthorizationError = true;

if (
Expand Down

0 comments on commit 9defc5c

Please sign in to comment.