Skip to content

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

Fix linter

Fang-Pen Linf16ba29bbdf5
diff --git a/frontend/src/pages/pam/PamAccountsPage/components/PamAccountForm/PamAccountForm.tsx b/frontend/src/pages/pam/PamAccountsPage/components/PamAccountForm/PamAccountForm.tsx
index b440921e5c..b9599be2d6 100644
--- a/frontend/src/pages/pam/PamAccountsPage/components/PamAccountForm/PamAccountForm.tsx
+++ b/frontend/src/pages/pam/PamAccountsPage/components/PamAccountForm/PamAccountForm.tsx
@@ -36,10 +36,7 @@ const CreateForm = ({
const createPamAccount = useCreatePamAccount();
const onSubmit = async (
- formData: DiscriminativePick<
- TPamAccount,
- "name" | "description" | "credentials" | "rotationEnabled" | "rotationIntervalSeconds"
- >
+ formData: DiscriminativePick<TPamAccount, "name" | "description" | "credentials">
) => {
try {
const account = await createPamAccount.mutateAsync({
@@ -86,10 +83,7 @@ const UpdateForm = ({ account, onComplete }: UpdateFormProps) => {
const updatePamAccount = useUpdatePamAccount();
const onSubmit = async (
- formData: DiscriminativePick<
- TPamAccount,
- "name" | "description" | "credentials" | "rotationEnabled" | "rotationIntervalSeconds"
- >
+ formData: DiscriminativePick<TPamAccount, "name" | "description" | "credentials">
) => {
try {
const updatedAccount = await updatePamAccount.mutateAsync({