Skip to content

Commit

Permalink
받은 평가 api 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
SeWooooong committed Aug 11, 2024
1 parent 7294f72 commit 20d6b01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public String insertEvaluation(Member member, EvaluationInfo evaluationInfo) {
* Badge 추가 및 알림 추가
*/
public void insertBadgeAndNotification(Member partner) {
EvaluationCount evaluationCount = countEvaluation(partner);
EvaluationCount evaluationCount = countEvaluation(partner.getId());
boolean check = true;
if (badgeService.existBadgeStateTrue(partner)) {
check = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public MemberProfileInfo getProfile(Long memberId) {
return MemberProfileInfo.builder()
.teacherInfo(new TeacherInfo(member))
.badgeInfos(badgeService.findAllBadge(member))
.evaluationCount(evaluationService.countEvaluation(member))
.evaluationCount(evaluationService.countEvaluation(memberId))
.boardHistory(boardService.getBoardHistory(member))
.discussionHistory(discussionService.getDiscussionHistory(member))
.worryBoardHistory(worryBoardService.getWorryBoardHistory(member))
Expand Down

0 comments on commit 20d6b01

Please sign in to comment.