mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 23:25:26 +00:00
feat(rbac): resolved zod validator issues and trim in frontend
This commit is contained in:
@@ -328,9 +328,7 @@ export const CreateSecretV3 = z.object({
|
||||
secretCommentCiphertext: z.string().trim().optional(),
|
||||
secretCommentIV: z.string().trim().optional(),
|
||||
secretCommentTag: z.string().trim().optional(),
|
||||
metadata: z.object({
|
||||
source: z.string()
|
||||
})
|
||||
metadata: z.record(z.string()).optional(),
|
||||
}),
|
||||
params: z.object({
|
||||
secretName: z.string().trim()
|
||||
|
||||
Reference in New Issue
Block a user