Skip to content

Commit

Permalink
fix : User 프로필 수정 시 name도 수정할 수 있도록 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
yel-m committed Jul 2, 2024
1 parent 264d45e commit 3e58c59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,6 @@ public boolean isEnabled() {
public void updateUserProfile(UserProfileUpdateRequestDto requestDto) {
this.gender = requestDto.getGender();
this.age = requestDto.getAge();
this.name = requestDto.getName();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@ public class UserProfileUpdateRequestDto {
@Min(1)
private int age;

private String name;

}

0 comments on commit 3e58c59

Please sign in to comment.