Skip to content

Commit

Permalink
🔥 fix: 유저 가입 API 주석 삭제 (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
loveysuby committed Jul 12, 2024
1 parent da10fc4 commit 4a27f0d
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ public GroupResponse registerUser(long groupId, long userId) {
.orElseThrow(() -> new ToyouException(ErrorType.GROUP_NOT_FOUND));
User user = userRepository.findById(userId)
.orElseThrow(() -> new ToyouException(ErrorType.USER_NOT_FOUND));

// TODO : 그룹에 유저를 가입시킨다. 유저는 멤버로 등록된다.
// group.addMember(user);
return new GroupResponse(group.getId(), group.getName());
}
Expand Down

0 comments on commit 4a27f0d

Please sign in to comment.