From 9defc5c7b0a049575e088a5fa69b80e7249a5d8c Mon Sep 17 00:00:00 2001 From: Gaston Yelmini Date: Mon, 20 May 2024 11:49:42 -0300 Subject: [PATCH] Update condition check --- src/google-cloud/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/google-cloud/client.ts b/src/google-cloud/client.ts index c97ee6e0..52de5bce 100644 --- a/src/google-cloud/client.ts +++ b/src/google-cloud/client.ts @@ -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 (