mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Fix linter
This commit is contained in:
@@ -36,10 +36,7 @@ const CreateForm = ({
|
|||||||
const createPamAccount = useCreatePamAccount();
|
const createPamAccount = useCreatePamAccount();
|
||||||
|
|
||||||
const onSubmit = async (
|
const onSubmit = async (
|
||||||
formData: DiscriminativePick<
|
formData: DiscriminativePick<TPamAccount, "name" | "description" | "credentials">
|
||||||
TPamAccount,
|
|
||||||
"name" | "description" | "credentials" | "rotationEnabled" | "rotationIntervalSeconds"
|
|
||||||
>
|
|
||||||
) => {
|
) => {
|
||||||
try {
|
try {
|
||||||
const account = await createPamAccount.mutateAsync({
|
const account = await createPamAccount.mutateAsync({
|
||||||
@@ -86,10 +83,7 @@ const UpdateForm = ({ account, onComplete }: UpdateFormProps) => {
|
|||||||
const updatePamAccount = useUpdatePamAccount();
|
const updatePamAccount = useUpdatePamAccount();
|
||||||
|
|
||||||
const onSubmit = async (
|
const onSubmit = async (
|
||||||
formData: DiscriminativePick<
|
formData: DiscriminativePick<TPamAccount, "name" | "description" | "credentials">
|
||||||
TPamAccount,
|
|
||||||
"name" | "description" | "credentials" | "rotationEnabled" | "rotationIntervalSeconds"
|
|
||||||
>
|
|
||||||
) => {
|
) => {
|
||||||
try {
|
try {
|
||||||
const updatedAccount = await updatePamAccount.mutateAsync({
|
const updatedAccount = await updatePamAccount.mutateAsync({
|
||||||
|
|||||||
Reference in New Issue
Block a user