Skip to content

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

fix(pam): fix prettier formatting and activateSession lint error

bernie-g58b29b8eaa5d
diff --git a/backend/src/ee/services/pam-account/pam-account-schemas.ts b/backend/src/ee/services/pam-account/pam-account-schemas.ts
index 859d6a4810..2dea6305da 100644
--- a/backend/src/ee/services/pam-account/pam-account-schemas.ts
+++ b/backend/src/ee/services/pam-account/pam-account-schemas.ts
@@ -610,8 +610,7 @@ const fieldsFromSchema = (schema: z.ZodTypeAny, ui: Record<string, TFieldUiHint>
widget: PamFieldWidget.Select,
required: true,
secret: false,
- options:
- ui[discriminator]?.options ?? discriminatorValues.map((v) => ({ label: humanizeKey(v), value: v }))
+ options: ui[discriminator]?.options ?? discriminatorValues.map((v) => ({ label: humanizeKey(v), value: v }))
}
];
diff --git a/backend/src/ee/services/pam-session/pam-session-service.ts b/backend/src/ee/services/pam-session/pam-session-service.ts
index 74808e8706..d079d77e21 100644
--- a/backend/src/ee/services/pam-session/pam-session-service.ts
+++ b/backend/src/ee/services/pam-session/pam-session-service.ts
@@ -49,6 +49,7 @@ type TPamSessionServiceFactoryDep = {
| "endSessionById"
| "terminateSessionById"
| "updateById"
+ | "activateSession"
>;
pamAccountDAL: Pick<TPamAccountDALFactory, "findByIdWithDetails" | "findOne">;
pamFolderDAL: Pick<TPamFolderDALFactory, "findOne">;