mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-04 14:26:25 +00:00
fix: made expire optional on service token creation
This commit is contained in:
@@ -158,7 +158,7 @@ export const CreateServiceTokenV2 = z.object({
|
|||||||
encryptedKey: z.string().trim(),
|
encryptedKey: z.string().trim(),
|
||||||
iv: z.string().trim(),
|
iv: z.string().trim(),
|
||||||
tag: z.string().trim(),
|
tag: z.string().trim(),
|
||||||
expiresIn: z.number(),
|
expiresIn: z.number().nullable().optional(),
|
||||||
permissions: z.enum(["read", "write"]).array()
|
permissions: z.enum(["read", "write"]).array()
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user