Skip to content

Commit

Permalink
Merge pull request #169 from kSantiagoP/main
Browse files Browse the repository at this point in the history
Rota user-logged alterada para incluir json web token
  • Loading branch information
wouerner authored Sep 10, 2024
2 parents cd14412 + 12af51a commit 9a4811e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/auth/auth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class AuthController {
}

@Get('/user-logged')
@UseGuards(AuthGuard())
@UseGuards(AuthGuard('jwt'))
@UserLoggedSwagger()
@ApiBearerAuth()
async userLogged(@LoggedUser() user: UsersEntity) {
Expand Down

0 comments on commit 9a4811e

Please sign in to comment.