Skip to content

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

Update identity-ua-client-secret-dal.ts

Akhil Mohan656d979d7d3b
diff --git a/backend/src/services/identity-ua/identity-ua-client-secret-dal.ts b/backend/src/services/identity-ua/identity-ua-client-secret-dal.ts
index 2d008727df..1b87b8ebc1 100644
--- a/backend/src/services/identity-ua/identity-ua-client-secret-dal.ts
+++ b/backend/src/services/identity-ua/identity-ua-client-secret-dal.ts
@@ -42,7 +42,7 @@ export const identityUaClientSecretDALFactory = (db: TDbClient) => {
})
.orWhere((qb) => {
void qb
- .where("clientSecretNumUses", ">", 0)
+ .where("clientSecretNumUsesLimit", ">", 0)
.andWhere(
"clientSecretNumUses",
">=",