mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-03 17:26:38 +00:00
fix z.coerce.number
This commit is contained in:
@@ -12,7 +12,7 @@ import { eq, and } from "drizzle-orm";
|
||||
import { idp, idpOrg } from "@server/db";
|
||||
|
||||
const paramsSchema = z.strictObject({
|
||||
idpId: z.coerce.number(),
|
||||
idpId: z.coerce.number<number>(),
|
||||
orgId: z.string()
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user