From c82202ac91ae6e6a1cc709592add3d8572dc688b Mon Sep 17 00:00:00 2001 From: "hoeppner.dataport" Date: Tue, 22 Oct 2024 14:15:14 +0200 Subject: [PATCH] chore: remove console.logs again after fixing --- apps/server/src/modules/user/uc/admin-api-user.uc.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/apps/server/src/modules/user/uc/admin-api-user.uc.ts b/apps/server/src/modules/user/uc/admin-api-user.uc.ts index ab5a2a7d359..bf58d4e9493 100644 --- a/apps/server/src/modules/user/uc/admin-api-user.uc.ts +++ b/apps/server/src/modules/user/uc/admin-api-user.uc.ts @@ -22,17 +22,11 @@ export class AdminApiUserUc { roleNames: RoleName[]; schoolId: EntityId; }): Promise { - console.log('roleNames', props.roleNames); - const roleDtos = await this.roleService.findByNames(props.roleNames); - console.log('roleDtos', roleDtos); - const roles = roleDtos.map((r) => { if (!r.id) throw new Error(); return new RoleReference({ ...r, id: r.id }); }); - - console.log('roles', roles); const user = await this.userService.save({ ...props, roles }); if (!user.id) throw new Error(); const initialPassword = nanoid(12);