Skip to content

Commit

Permalink
Fix: 회원가입 버그 수정 (#67)
Browse files Browse the repository at this point in the history
회원가입시 postList null로 인해 생기는 오류 해결

#66
  • Loading branch information
wcorn authored Jan 4, 2024
1 parent 0b08df2 commit e2e638f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/main/java/com/fubao/project/domain/entity/Member.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,7 @@ public Member(UUID id, OAuthProvider oAuthProvider, String providerId, MemberRol
this.providerId = providerId;
this.memberRole = memberRole;
this.state = state;
if (postList.isEmpty()) {
this.postList = postList;
} else {
this.postList = null;
}
this.postList = postList;
}

public void deactivation() {
Expand Down

0 comments on commit e2e638f

Please sign in to comment.