corrected token required
This commit is contained in:
parent
3caad838f6
commit
f64f13b545
@ -66,7 +66,7 @@ export class AuthController {
|
||||
}
|
||||
|
||||
@UseGuards(AuthGuard)
|
||||
@ApiBearerAuth('acces_token')
|
||||
@ApiBearerAuth('access-token')
|
||||
@Post('logout')
|
||||
logout(@User() currentUser: Users) {
|
||||
return this.authService.logout(currentUser.id);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user