fix: use new zod 4 error property
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
|
||||
const schema = z.object({
|
||||
notificationTitle: z.string({
|
||||
required_error: "Title is required"
|
||||
error: "Title is required"
|
||||
}).nonempty(),
|
||||
notificationBody: z.string().optional()
|
||||
});
|
||||
|
Reference in New Issue
Block a user