diff --git a/src/main/java/com/telepigeon/server/service/answer/AnswerService.java b/src/main/java/com/telepigeon/server/service/answer/AnswerService.java index 3cde697..c6095af 100644 --- a/src/main/java/com/telepigeon/server/service/answer/AnswerService.java +++ b/src/main/java/com/telepigeon/server/service/answer/AnswerService.java @@ -217,7 +217,7 @@ public MonthlyKeywordsDto getMonthlyKeywords( positiveKeywords.set(i, rankAnswerDtoList.get(i).keyword()); } if (rankAnswerDtoList.get(rankAnswerDtoList.size() - i - 1).emotion() < 0){ - negativeKeywords.set(i, rankAnswerDtoList.get(i).keyword()); + negativeKeywords.set(i, rankAnswerDtoList.get(rankAnswerDtoList.size() - i - 1).keyword()); } } return MonthlyKeywordsDto.of(positiveKeywords, negativeKeywords);