Skip to content

Commit add1188

Browse files
committed
Added Comment for better understanding.
1 parent 9adb1ac commit add1188

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/com/alwinsimon/UserManagementJavaSpringBoot/Controller/UserController.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ public class UserController {
1818

1919
@GetMapping("/current-user")
2020
public User getCurrentUser() {
21+
22+
// API Endpoint to get the LoggedIn User Details using Token received in the Request Header.
2123
return userService.currentUserDetails();
24+
2225
}
2326
}

0 commit comments

Comments
 (0)