diff --git a/src/app/api/idnot/UserController.ts b/src/app/api/idnot/UserController.ts index dc749489..0b8fec33 100644 --- a/src/app/api/idnot/UserController.ts +++ b/src/app/api/idnot/UserController.ts @@ -63,6 +63,7 @@ export default class UserController extends ApiController { this.httpNotFoundRequest(response, "user not found"); return; } + //Hydrate user to be able to use his contact const userHydrated = User.hydrate(prismaUser, { strategy: "excludeAll" });