Skip to content

Commit

Permalink
[FIX] Snake -> Pascal로 인한 오류 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
wnehgus101 committed Oct 8, 2024
1 parent 682d542 commit 895661a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,13 @@ public List<AlarmDto> getAlarms(String SSAID, String keyword){
List<AlarmDto> alarmDtos = new ArrayList<>();

for (Alarm alarm : alarms) {
String noticeType = categoryService.convertSnakeToPascal(alarm.getNoticeType());
String noticeType = alarm.getNoticeType();

List<Bookmark> bookmark = bookmarkRepository.findByCategoryAndUserAndNoticeID(noticeType, user, alarm.getNoticeID());

boolean isMarked = !bookmark.isEmpty();

Map<String, Object> noticeDetails = getNoticeDetails(alarm.getNoticeType(), alarm.getNoticeID());
Map<String, Object> noticeDetails = getNoticeDetails(categoryService.convertPascalToSnake(noticeType), alarm.getNoticeID());
String url = (String) noticeDetails.get("url");
String pubDate = (String) noticeDetails.get("pubDate");

Expand Down

0 comments on commit 895661a

Please sign in to comment.