mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-18 19:06:38 +00:00
used zod codemod
This commit is contained in:
@@ -46,12 +46,10 @@ export type GetOrgUserResponse = NonNullable<
|
||||
Awaited<ReturnType<typeof queryUser>>
|
||||
>;
|
||||
|
||||
const getOrgUserParamsSchema = z
|
||||
.object({
|
||||
const getOrgUserParamsSchema = z.strictObject({
|
||||
userId: z.string(),
|
||||
orgId: z.string()
|
||||
})
|
||||
.strict();
|
||||
});
|
||||
|
||||
registry.registerPath({
|
||||
method: "get",
|
||||
|
||||
Reference in New Issue
Block a user