Skip to content

Commit

Permalink
Merge pull request #111 from SanE-Seo/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Hong-Mu authored May 9, 2024
2 parents 033e6f4 + 1228797 commit 77c8151
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public String generateName() {
public MemberResponse updateMember(UpdateMemberCommand command) {
Member member = memberPort.loadById(command.getMemberId());

if(command.getName() != null) {
if(command.getName() != null && !command.getName().equals(member.getName())) {
checkDuplicateName(command.getName());
member.setName(command.getName());
}
Expand Down

0 comments on commit 77c8151

Please sign in to comment.