Skip to content

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

fix lint

x032205f6c105058598
diff --git a/backend/src/db/migrations/20260603030053_pam-revamp.ts b/backend/src/db/migrations/20260603030053_pam-revamp.ts
index 907b0a8826..bb006de38a 100644
--- a/backend/src/db/migrations/20260603030053_pam-revamp.ts
+++ b/backend/src/db/migrations/20260603030053_pam-revamp.ts
@@ -374,7 +374,9 @@ export async function up(knex: Knex): Promise<void> {
// Clean up orphaned accounts and deduplicate before adding constraints
await knex(TableName.PamAccount)
- .where((qb) => qb.whereNull("folderId").orWhereNull("templateId"))
+ .where((qb) => {
+ void qb.whereNull("folderId").orWhereNull("templateId");
+ })
.delete();
await knex.raw(`