Skip to content

Commit

Permalink
fix: 골 도메인 getTeams 메서드 생성에 따른 오류사항 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jhsseonn committed Mar 2, 2024
1 parent 6d52552 commit 0642fb1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ private Goal getGoal(final Long id) {

private void validateUserInGoalTeams(final Goal goal, final Long userId) {
final List<Long> teamUserIds = goal.getTeams()
.getGoalTeams()
.stream()
.map(goalTeam -> goalTeam.getUser().getId())
.toList();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ private void validateUserInGoalTeams(final Goal goal, final Long userId) {

private List<Long> getTeamUserIds(final Goal goal) {
return goal.getTeams()
.getGoalTeams()
.stream()
.map(goalTeam -> goalTeam.getUser().getId())
.toList();
Expand Down

0 comments on commit 0642fb1

Please sign in to comment.