mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-30 07:35:15 +02:00
Trying to add site provider
This commit is contained in:
parent
2d754c4279
commit
892dd39e6d
14 changed files with 138 additions and 52 deletions
|
@ -11,7 +11,7 @@ import logger from '@server/logger';
|
|||
|
||||
const removeUserSchema = z.object({
|
||||
userId: z.string().uuid(),
|
||||
orgId: z.number().int().positive(),
|
||||
orgId: z.string().transform(Number).pipe(z.number().int().positive())
|
||||
});
|
||||
|
||||
export async function removeUserOrg(req: Request, res: Response, next: NextFunction): Promise<any> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue