corrected token required

This commit is contained in:
sdraris 2025-10-02 12:06:07 +02:00
parent f5ba267f78
commit 3caad838f6

View File

@ -66,6 +66,7 @@ export class AuthController {
} }
@UseGuards(AuthGuard) @UseGuards(AuthGuard)
@ApiBearerAuth('acces_token')
@Post('logout') @Post('logout')
logout(@User() currentUser: Users) { logout(@User() currentUser: Users) {
return this.authService.logout(currentUser.id); return this.authService.logout(currentUser.id);