Skip to content

Commit 9162f64

Browse files
authored
fix: update user ref (#505)
1 parent 86ef218 commit 9162f64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/user/user.controller.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export class UserController {
4545
@Get('/me')
4646
@UseGuards(FirebaseAuthGuard)
4747
async getUserByFirebaseId(@Req() req: Request): Promise<GetUserDto> {
48-
const user = req['user'];
48+
const user = req['userEntity'];
4949
this.userService.updateUser({ lastActiveAt: new Date() }, user.id);
5050
return user;
5151
}

0 commit comments

Comments
 (0)