fix(validation): remove invalid zod enum argument

This commit is contained in:
ashu130698 committed 2026-03-06 20:41:33 +05:30
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"]),
});