fix: resolve Zod build error and run formatter
This commit is contained in:
1 parent
4d7de2d3a1
commit
a40a76fb3c
2 files changed
+2
-3
No files matched your search
@@ -82,6 +82,6 @@ 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"], {
|
||||
errorMap: () => ({message: "Action must be 'add', 'remove', or 'set'"})
|
||||
message: "Action must be 'add', 'remove', or 'set'",
|
||||
}),
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user