mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 02:51:51 +00:00
feat: fixed eslint and resolved all eslint issues
This commit is contained in:
@@ -25,8 +25,8 @@ export const secretBlindIndexDALFactory = (db: TDbClient) => {
|
||||
)
|
||||
.where({ projectId })
|
||||
.whereNull("secretBlindIndex")
|
||||
.count(`${TableName.Secret}.id`);
|
||||
return (doc as any)?.[0]?.count || 0;
|
||||
.count(`${TableName.Secret}.id` as "id");
|
||||
return doc?.[0]?.count || 0;
|
||||
} catch (error) {
|
||||
throw new DatabaseError({ error, name: "CountOfSecretWillNullSecretBlindIndex" });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user