Move review to separate model
This commit is contained in:
@@ -43,7 +43,7 @@ export default defineEventHandler(async (event) => {
|
||||
const { email } = await useValidatedQuery(
|
||||
event,
|
||||
z.object({
|
||||
email: z.string().min(3).trim()
|
||||
email: z.string().trim().default('')
|
||||
})
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user