Skip to content

Commit

Permalink
entry key 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
zoangrak committed Jun 3, 2024
1 parent 935996e commit 053076f
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,8 @@ public ResponseEntity<?> getUserInfo(@RequestHeader(name="Authorization") String
User user = userService.validateAccessTokenAndGetUser(token);

Map<String, Object> userInfo = new HashMap<>();
userInfo.put("id", user.getId());
userInfo.put("name", user.getName());
userInfo.put("email", user.getEmail());
userInfo.put("role", user.getRole().toString());

return ResponseEntity.ok(userInfo);
} catch (Exception e) {
Expand Down

0 comments on commit 053076f

Please sign in to comment.