Skip to content

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

fix eslint errors

Maidul Islam11399d73dc49
diff --git a/backend/src/server/routes/v3/secret-router.ts b/backend/src/server/routes/v3/secret-router.ts
index c07a717a35..01746507f0 100644
--- a/backend/src/server/routes/v3/secret-router.ts
+++ b/backend/src/server/routes/v3/secret-router.ts
@@ -479,7 +479,9 @@ export const registerSecretRouter = async (server: FastifyZodProvider) => {
}
}
- const shouldCapture = (req.query.workspaceId != "650e71fbae3e6c8572f436d4") && (req.headers["user-agent"] !== "k8-operator" || shouldRecordK8Event);
+ const shouldCapture =
+ req.query.workspaceId !== "650e71fbae3e6c8572f436d4" &&
+ (req.headers["user-agent"] !== "k8-operator" || shouldRecordK8Event);
const approximateNumberTotalSecrets = secrets.length * 20;
if (shouldCapture) {
server.services.telemetry.sendPostHogEvents({