Skip to content

Commit

Permalink
refactor: 리뷰 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
songyi00 committed Oct 27, 2024
1 parent 9c2c552 commit 4501e74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,4 @@ private void validateAuthority(final Long memberId, final Mission mission) {
throw new ForbiddenException(ErrorCode.CANNOT_DELETE_MISSION);
}
}

@Transactional
public void batchUpdate(final Long missionId) {

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ public static MissionsResponse of(Member member, List<MissionMember> missionMemb
return new MissionsResponse(
new ProfileResponse(member.getNickname(), member.getCharacterType()),
missionMembers.stream()
.map(missionVerification -> new MissionResponse(
missionVerification.getMission().getId(),
missionVerification.getMission().getDescription(),
missionVerification.getMissionStatus())
.map(missionMember -> new MissionResponse(
missionMember.getMission().getId(),
missionMember.getMission().getDescription(),
missionMember.getMissionStatus())
)
.toList()
);
Expand Down

0 comments on commit 4501e74

Please sign in to comment.