diff --git a/src/user/user.controller.ts b/src/user/user.controller.ts index a1b4bfa8..c8ca69e9 100644 --- a/src/user/user.controller.ts +++ b/src/user/user.controller.ts @@ -45,7 +45,7 @@ export class UserController { @Get('/me') @UseGuards(FirebaseAuthGuard) async getUserByFirebaseId(@Req() req: Request): Promise { - const user = req['user']; + const user = req['userEntity']; this.userService.updateUser({ lastActiveAt: new Date() }, user.id); return user; }