Skip to content

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

fix lint

adilson195d858d0630
diff --git a/backend/src/db/migrations/utils/approval-migration.ts b/backend/src/db/migrations/utils/approval-migration.ts
index fb0d0e80b9..812f17a515 100644
--- a/backend/src/db/migrations/utils/approval-migration.ts
+++ b/backend/src/db/migrations/utils/approval-migration.ts
@@ -139,9 +139,7 @@ export const readLegacyReviews = async (
) => {
if (!requestIds.length) return [] as TLegacyReview[];
const columns = ["id", "requestId", "reviewerUserId", "status", "createdAt", ...(withComment ? ["comment"] : [])];
- return (await tx(tables.legacyReviewers)
- .whereIn("requestId", requestIds)
- .select(columns)) as TLegacyReview[];
+ return (await tx(tables.legacyReviewers).whereIn("requestId", requestIds).select(columns)) as TLegacyReview[];
};
export const readApproverGroupMembers = async (tx: Knex, approvers: TLegacyApprover[]) => {