Enforce strick query params

Fixes #3313
This commit is contained in:
Owen
2026-06-23 12:22:47 -04:00
parent ce3c2f7583
commit f48a4f7bc0
18 changed files with 18 additions and 18 deletions

View File

@@ -15,7 +15,7 @@ const listRolesParamsSchema = z.strictObject({
orgId: z.string()
});
const listRolesSchema = z.object({
const listRolesSchema = z.strictObject({
pageSize: z.coerce
.number<string>() // for prettier formatting
.int()