Skip to content

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

fix: lint issue

IgorHortaf7cf57c0b847
diff --git a/backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-service.ts b/backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-service.ts
index 174b610100..5461bb7e5d 100644
--- a/backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-service.ts
+++ b/backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-service.ts
@@ -313,7 +313,7 @@ export const secretRotationV2ServiceFactory = ({
message: `Could not find ${SECRET_ROTATION_NAME_MAP[type]} Rotation with ID "${rotationId}"`
});
- const { projectId, environment, folder, connection } = secretRotation;
+ const { projectId, connection } = secretRotation;
const { permission } = await permissionService.getProjectPermission({
actor: actor.type,
@@ -356,7 +356,7 @@ export const secretRotationV2ServiceFactory = ({
message: `Could not find ${SECRET_ROTATION_NAME_MAP[type]} Rotation with ID "${rotationId}"`
});
- const { projectId, environment, folder, connection, encryptedGeneratedCredentials } = secretRotation;
+ const { projectId, connection, encryptedGeneratedCredentials } = secretRotation;
const { permission } = await permissionService.getProjectPermission({
actor: actor.type,
@@ -1148,7 +1148,7 @@ export const secretRotationV2ServiceFactory = ({
message: `Could not find ${SECRET_ROTATION_NAME_MAP[type]} Rotation with ID "${rotationId}"`
});
- const { projectId, environment, folder, connection } = secretRotation;
+ const { projectId, connection } = secretRotation;
const { permission } = await permissionService.getProjectPermission({
actor: actor.type,