diff --git a/backend/src/controllers/ReportController.ts b/backend/src/controllers/ReportController.ts index 10580be..f2c042f 100644 --- a/backend/src/controllers/ReportController.ts +++ b/backend/src/controllers/ReportController.ts @@ -66,7 +66,7 @@ export const reportUserService = async (req: Request, res: Response): Promise; raw?: boolean; - userIds?: string | number + userIds?: string | number; } -const ListUser = async ({ profile, userId, raw, userIds }: Request): Promise => { +const ListUser = async ({ profile, userId, raw, userIds, profiles }: Request): Promise => { let where_clause = {}; if (userId && profile) { @@ -29,6 +31,10 @@ const ListUser = async ({ profile, userId, raw, userIds }: Request): Promise