Skip to content

Commit

Permalink
logging :: CurrentUserImpl
Browse files Browse the repository at this point in the history
  • Loading branch information
ori0o0p committed Jul 30, 2024
1 parent 2a24651 commit d44d3fc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ public StudentEntity getUser() {
.getAuthentication()
.getName();

System.out.println(id);

return studentMongoRepository.findById(id)
.orElseThrow(() -> StudentNotFoundException.EXCEPTION);
}
Expand Down

0 comments on commit d44d3fc

Please sign in to comment.