Trying to add site provider

This commit is contained in:
Owen Schwartz 2024-10-13 22:45:48 -04:00
parent 2d754c4279
commit 892dd39e6d
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
14 changed files with 138 additions and 52 deletions

View file

@ -15,7 +15,7 @@ const removeUserActionParamsSchema = z.object({
const removeUserActionSchema = z.object({
actionId: z.string(),
orgId: z.number().int().positive(),
orgId: z.string().transform(Number).pipe(z.number().int().positive())
});
export async function removeUserAction(req: Request, res: Response, next: NextFunction): Promise<any> {