Skip to content

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

fix: add eslint-disable comment for shouldDeleteIntegrationSecrets in integration deletion event metadata

Victor Santosf98b803e76c0
diff --git a/backend/src/server/routes/v1/integration-router.ts b/backend/src/server/routes/v1/integration-router.ts
index 1d3a6a8b0c..7a3b84c5a4 100644
--- a/backend/src/server/routes/v1/integration-router.ts
+++ b/backend/src/server/routes/v1/integration-router.ts
@@ -314,6 +314,7 @@ export const registerIntegrationRouter = async (server: FastifyZodProvider) => {
projectId: integration.projectId,
event: {
type: EventType.DELETE_INTEGRATION,
+ // eslint-disable-next-line
metadata: {
...deleteIntegrationEventProperty,
shouldDeleteIntegrationSecrets: req.query.shouldDeleteIntegrationSecrets