Add end showcase
This commit is contained in:
@@ -48,7 +48,7 @@ export default defineEventHandler(async (event) => {
|
||||
const { score, review } = await useValidatedBody(
|
||||
event,
|
||||
z.object({
|
||||
score: z.number().min(0).nullable(),
|
||||
score: z.int().min(0).max(32767).nullable(),
|
||||
review: z.string().max(256).nullable()
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user