Skip to content

Commit

Permalink
Update UserController.java
Browse files Browse the repository at this point in the history
  • Loading branch information
T-ferret authored Sep 28, 2024
1 parent d0cf286 commit e05362d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public UserInfoResponse getCurrentUserInfo(@Parameter(description = "Accesstoken
@Operation(summary = "ํ˜„์žฌ ์œ ์ € ํ”„๋กœํ•„ ์—…๋ฐ์ดํŠธ", description = "์œ ์ €์˜ nickname, username, password(์ง€๋‚œ ๋น„๋ฐ€๋ฒˆํ˜ธ ๊ฒ€์ฆ ๊ณผ์ • ์กด์žฌ) email, profileImage ์—…๋กœ๋“œ ๊ธฐ๋Šฅ(null ๊ฐ’์œผ๋กœ ์ „์†ก ์‹œ, ์—…๋ฐ์ดํŠธ X)")
@PostMapping("/profile")
public UserInfoResponse updateCurrentUserInfo(@Parameter(description = "Accesstoken์„ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”.", required = true) @RequestHeader("Authorization") String token,
@Valid @RequestBody UpdateUserRequest updateUserRequest) {
@RequestBody UpdateUserRequest updateUserRequest) {
if (token == null) {
throw new InvalidTokenException();
}
Expand Down

0 comments on commit e05362d

Please sign in to comment.