chore: add and edit roles is working now

This commit is contained in:
Pablo Lara committed 2024-12-15 10:51:10 +01:00
1 parent c1a8d47e5b
commit 577530ac69
4 files changed
+69 -15

No files matched your search

-1
View File
@@ -12,7 +12,6 @@ export const addRoleFormSchema = z.object({
});
export const editRoleFormSchema = z.object({
roleId: z.string().uuid(),
name: z.string().min(1, "Name is required"),
manage_users: z.boolean().default(false),
manage_account: z.boolean().default(false),