fix(validation): remove invalid zod enum argument
This commit is contained in:
1 parent
a40a76fb3c
commit
c5f0316990
1 file changed
+1
-3
@@ -81,7 +81,5 @@ export const sendTestEmailBodyValidation = z.object({
|
||||
export const bulkEditNotificationBodyValidation = z.object({
|
||||
monitorIds: z.array(z.string()).min(1, "At least one monitor ID is required"),
|
||||
notificationIds: z.array(z.string()),
|
||||
action: z.enum(["add", "remove", "set"], {
|
||||
message: "Action must be 'add', 'remove', or 'set'",
|
||||
}),
|
||||
action: z.enum(["add", "remove", "set"]),
|
||||
});
|
||||
Reference in new issue
Block a user