Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
palagdan committed Jul 22, 2024
1 parent 035b48d commit b310bc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/cz/cvut/kbss/study/rest/UserController.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public ResponseEntity<Void> create(@RequestBody User user) {

@PreAuthorize("hasRole('" + SecurityConstants.ROLE_USER + "')")
@GetMapping("/current/verifyInstitution")
public ResponseEntity<String> checkUserInstitution() {
public ResponseEntity<String> verifyCurrentUserInstitution() {
User currentUser;
try {
currentUser = userService.getCurrentUser();
Expand Down

0 comments on commit b310bc7

Please sign in to comment.