set users on resource working

This commit is contained in:
Milo Schwartz 2024-11-15 23:38:08 -05:00
parent 9f87b8d271
commit b1e53ed8d7
No known key found for this signature in database
16 changed files with 414 additions and 118 deletions

View file

@ -17,7 +17,7 @@ const setResourceRolesParamsSchema = z.object({
resourceId: z.string().transform(Number).pipe(z.number().int().positive()),
});
export async function addRoleResource(
export async function setResourceRoles(
req: Request,
res: Response,
next: NextFunction