(@Body('code') code: string, @Res() res: Response)
| 9 | constructor(private readonly authService: AuthService) {} |
| 10 | @Post('google') |
| 11 | async googleAuthRedirect(@Body('code') code: string, @Res() res: Response) { |
| 12 | return await this.authService.googleLoginCallback(code, res); |
| 13 | } |
| 14 | @UseGuards(JwtAuthGuard) |
| 15 | @Get('logout') |
| 16 | async logout(@Res() res: Response) { |
nothing calls this directly
no test coverage detected