mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-02 21:51:23 +00:00
Move to string ordId
This commit is contained in:
parent
0f3dada6cc
commit
9abb656d52
16 changed files with 28 additions and 26 deletions
|
|
@ -11,7 +11,7 @@ import { eq, and } from 'drizzle-orm';
|
|||
|
||||
const createResourceParamsSchema = z.object({
|
||||
siteId: z.number().int().positive(),
|
||||
orgId: z.string().transform(Number).pipe(z.number().int().positive())
|
||||
orgId: z.string()
|
||||
});
|
||||
|
||||
// Define Zod schema for request body validation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue