Skip to content

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

fixed lint issues

Muzzaiyyan Hussain910910ed5d9b
diff --git a/backend/src/services/secret-v2-bridge/secret-v2-bridge-service.ts b/backend/src/services/secret-v2-bridge/secret-v2-bridge-service.ts
index 42eb7c862f..0e16068488 100644
--- a/backend/src/services/secret-v2-bridge/secret-v2-bridge-service.ts
+++ b/backend/src/services/secret-v2-bridge/secret-v2-bridge-service.ts
@@ -2036,9 +2036,7 @@ export const secretV2BridgeServiceFactory = ({
// get all tags (include create + update in upsert)
const allInputSecrets = [...secretsToUpdate, ...secretsToCreate];
- const sanitizedTagIds = [
- ...new Set(allInputSecrets.flatMap(({ tagIds = [] }) => tagIds))
- ];
+ const sanitizedTagIds = [...new Set(allInputSecrets.flatMap(({ tagIds = [] }) => tagIds))];
const tags = sanitizedTagIds.length ? await secretTagDAL.findManyTagsById(projectId, sanitizedTagIds, tx) : [];
if (tags.length !== sanitizedTagIds.length) throw new NotFoundError({ message: "Tag not found" });