Skip to content

Commit

Permalink
refactor: 오타수정
Browse files Browse the repository at this point in the history
  • Loading branch information
seulgi99 committed Aug 18, 2024
1 parent 8aed247 commit 13e368b
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 @@ -47,7 +47,7 @@ public List<StudyAnnouncementResponse> getStudyAnnouncements(Long studyId) {
studyValidator.validateStudyMentorOrStudent(currentMember, study, studyHistory);

final List<StudyAnnouncement> studyAnnouncements =
studyAnnouncementRepository.findAllByStudyIdOOrderByCreatedAtDesc(studyId);
studyAnnouncementRepository.findAllByStudyIdOrderByCreatedAtDesc(studyId);

return studyAnnouncements.stream().map(StudyAnnouncementResponse::from).toList();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ default StudyAnnouncement getById(Long id) {
return findById(id).orElseThrow(() -> new CustomException(STUDY_ANNOUNCEMENT_NOT_FOUND));
}

List<StudyAnnouncement> findAllByStudyIdOOrderByCreatedAtDesc(Long studyId);
List<StudyAnnouncement> findAllByStudyIdOrderByCreatedAtDesc(Long studyId);
}

0 comments on commit 13e368b

Please sign in to comment.