Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix lint

Thiago Araujo da Silvaf432c28372c0
diff --git a/backend/src/services/oauth-client/oauth-client-fns.ts b/backend/src/services/oauth-client/oauth-client-fns.ts
index 21465e9675..6f3f4d64ee 100644
--- a/backend/src/services/oauth-client/oauth-client-fns.ts
+++ b/backend/src/services/oauth-client/oauth-client-fns.ts
@@ -78,10 +78,7 @@ export const hasClientAuthorityChanged = (
authenticated: Pick<TOauthClients, "clientSecretHash" | "grantTypes">,
current: Pick<TOauthClients, "clientSecretHash" | "grantTypes"> | undefined,
grantType: OauthGrantType
-) =>
- !current ||
- current.clientSecretHash !== authenticated.clientSecretHash ||
- !current.grantTypes.includes(grantType);
+) => !current || current.clientSecretHash !== authenticated.clientSecretHash || !current.grantTypes.includes(grantType);
export const isRegisteredRedirectUri = (registeredUris: string[], redirectUri: string) =>
registeredUris.some((uri) => {