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

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

View File

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