mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-07 11:16:37 +00:00
Org is not optional
This commit is contained in:
@@ -14,7 +14,7 @@ import { OpenAPITags, registry } from "@server/openApi";
|
|||||||
const getClientSchema = z
|
const getClientSchema = z
|
||||||
.object({
|
.object({
|
||||||
clientId: z.string().transform(stoi).pipe(z.number().int().positive()),
|
clientId: z.string().transform(stoi).pipe(z.number().int().positive()),
|
||||||
orgId: z.string().optional()
|
orgId: z.string()
|
||||||
})
|
})
|
||||||
.strict();
|
.strict();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user