This commit is contained in:
2025-11-11 11:29:39 +03:30
parent 5dd7a6588e
commit d4db672672
9 changed files with 76 additions and 20 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ export class UserController {
@UseGuards(AuthGuard)
@ApiBearerAuth()
@ApiOperation({ summary: 'Get the current authenticated user profile' })
@Get('/')
@Get('/me')
async getUser(@Req() req: AuthRequest) {
const userId = req.user.sub;
const user = await this.userService.findById(userId);