Merge pull request #2379 from Infisical/fix/client-secret-patch

Update identity-ua-client-secret-dal.ts
This commit is contained in:
Maidul Islam
2024-09-05 11:02:35 -04:00
committed by GitHub

View File

@@ -42,7 +42,7 @@ export const identityUaClientSecretDALFactory = (db: TDbClient) => {
})
.orWhere((qb) => {
void qb
.where("clientSecretNumUses", ">", 0)
.where("clientSecretNumUsesLimit", ">", 0)
.andWhere(
"clientSecretNumUses",
">=",