diff --git a/src/auth/auth.controller.ts b/src/auth/auth.controller.ts index 3390c96..485ece6 100644 --- a/src/auth/auth.controller.ts +++ b/src/auth/auth.controller.ts @@ -17,15 +17,15 @@ export class AuthController { return await this.authService.login(req.user) } - //jwt.strategy의 validate에서 true인경우 넘어옴 + //jwt.accesstoken.stragy의 validate에서 true인경우 넘어옴 @UseGuards(JwtAccessTokenGuard) @Get('profile') async profile(@Request() req) { return req.user } - //jwt.strategy의 validate에서 true인경우 넘어옴 - @UseGuards(JwtRefreshTokenGuard) + //jwt.refreshtoken.stragy의 validate에서 true인경우 넘어옴 + //@UseGuards(JwtRefreshTokenGuard) @Post('reload') async reload(@Request() req) { return await this.authService.reload(req.user)