Skip to content

Commit

Permalink
fix : 그룹 초대 비교 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
seokho-1116 committed Jun 6, 2024
1 parent 1def8c2 commit b19ab6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static GroupInvite createOf(Group group, Member groupOwner, Member groupM
}

public void validateOwner(Long memberId) {
if (!groupOwner.equals(memberId)) {
if (!groupOwner.getId().equals(memberId)) {
throw new NoGroupAuthorityException();
}
}
Expand Down

0 comments on commit b19ab6e

Please sign in to comment.