fix z.coerce.number

This commit is contained in:
Lokowitz
2025-11-16 14:29:19 +00:00
parent 7db99a7dd5
commit 58cf471bc4
21 changed files with 25 additions and 25 deletions

View File

@@ -40,7 +40,7 @@ const ensureTrailingSlash = (url: string): string => {
const paramsSchema = z
.object({
idpId: z.coerce.number()
idpId: z.coerce.number<number>()
})
.strict();
@@ -51,7 +51,7 @@ const bodySchema = z.object({
});
const querySchema = z.object({
loginPageId: z.coerce.number().optional()
loginPageId: z.coerce.number<number>().optional()
});
export type ValidateOidcUrlCallbackResponse = {