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

This commit is contained in:
Akhil Mohan
2024-09-05 20:29:18 +05:30
committed by GitHub
parent 5382f3de2d
commit 656d979d7d
@@ -42,7 +42,7 @@ export const identityUaClientSecretDALFactory = (db: TDbClient) => {
}) })
.orWhere((qb) => { .orWhere((qb) => {
void qb void qb
.where("clientSecretNumUses", ">", 0) .where("clientSecretNumUsesLimit", ">", 0)
.andWhere( .andWhere(
"clientSecretNumUses", "clientSecretNumUses",
">=", ">=",