mirror of
https://github.com/Floriansylvain/ParisMuseesQuizz.git
synced 2026-10-18 18:34:11 +02:00
Added random paintings limit minimum
This commit is contained in:
1 parent
372e7acdbc
commit
e123930565
1 file changed
+1
-1
@@ -16,7 +16,7 @@ const paintingParser = z
|
||||
|
||||
const randomParser = z
|
||||
.object({
|
||||
limit: z.coerce.number().max(10),
|
||||
limit: z.coerce.number().min(1).max(10),
|
||||
})
|
||||
.required()
|
||||
|
||||
|
||||
Reference in new issue
Block a user