Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
feat: corrected to small subset of error status code
=d7a99db66a89
diff --git a/backend/src/ee/services/license/license-fns.ts b/backend/src/ee/services/license/license-fns.tsindex b595454b6b..8ef91c6f8d 100644--- a/backend/src/ee/services/license/license-fns.ts+++ b/backend/src/ee/services/license/license-fns.ts@@ -102,7 +102,7 @@ export const setupLicenseRequestWithStore = (baseURL: string, refreshUrl: stringconst errStatusCode = Number((err as AxiosError)?.response?.status);logger.error((err as AxiosError)?.response?.data, "License server call error");// eslint-disable-next-line- if (errStatusCode > 400 && errStatusCode < 500 && !(originalRequest as any)._retry) {+ if ((errStatusCode === 401 || errStatusCode === 403) && !(originalRequest as any)._retry) {// eslint-disable-next-line(originalRequest as any)._retry = true; // injected