Skip to content

Commit b220078

Browse files
committed
refactor(InternalMeetingStatsService): 유저 객체로 부터 orgId를 가져와서 반환하도록 리팩토링
1 parent f3799d6 commit b220078

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/src/main/java/org/sopt/makers/crew/main/internal/service/InternalMeetingStatsService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ public ApprovedStudyCountResponseDto getApprovedStudyCountByOrgId(Integer orgId)
2828
Long approvedStudyCount = applyRepository.findApprovedStudyCountByOrgId(MeetingCategory.STUDY,
2929
EnApplyStatus.APPROVE, user.getOrgId());
3030

31-
return ApprovedStudyCountResponseDto.of(orgId, approvedStudyCount);
31+
return ApprovedStudyCountResponseDto.of(user.getOrgId(), approvedStudyCount);
3232
}
3333
}

0 commit comments

Comments
 (0)