From acff469ba069b6f090adfd5ed91379c9f146aa77 Mon Sep 17 00:00:00 2001 From: Logan Hunt Date: Wed, 30 Mar 2022 15:18:16 -0600 Subject: Ability to add, remove, update radius and location of chatrooms with a leaflet --- server/controllers/users.controller.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'server/controllers/users.controller.ts') diff --git a/server/controllers/users.controller.ts b/server/controllers/users.controller.ts index 652b5b6..82d6215 100644 --- a/server/controllers/users.controller.ts +++ b/server/controllers/users.controller.ts @@ -35,6 +35,7 @@ export class UsersController { @Get('/users/me') async getCurrentUser(@JwtBody() jwtBody: JwtBodyDto) { const user = await this.usersService.find(jwtBody.userId); + delete user.passwordHash; return { user }; } -- cgit v1.2.3-70-g09d2