From bfe497cf22801c518b4f68ecbd7337789f6303aa Mon Sep 17 00:00:00 2001 From: minwoo0419 Date: Tue, 13 Aug 2024 20:49:48 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20#113=20=EC=9B=94=EA=B0=84=20=ED=82=A4?= =?UTF-8?q?=EC=9B=8C=EB=93=9C=20=EC=A1=B0=ED=9A=8C=20=EC=8B=9C=20=EC=83=81?= =?UTF-8?q?=EB=8C=80=EB=B0=A9=20=ED=82=A4=EC=9B=8C=EB=93=9C=20=EC=A1=B0?= =?UTF-8?q?=ED=9A=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/telepigeon/server/service/answer/AnswerService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 c6095af..cb8ab54 100644 --- a/src/main/java/com/telepigeon/server/service/answer/AnswerService.java +++ b/src/main/java/com/telepigeon/server/service/answer/AnswerService.java @@ -52,7 +52,7 @@ public class AnswerService { private final S3Service s3Service; private final HurryRemover hurryRemover; - private static String ANSWER_S3_UPLOAD_FOLDER = "answer/"; + private static final String ANSWER_S3_UPLOAD_FOLDER = "answer/"; @Transactional public Answer create( @@ -203,7 +203,7 @@ public MonthlyKeywordsDto getMonthlyKeywords( ) { User user = userRetriever.findById(userId); Room room = roomRetriever.findById(roomId); - Profile profile = profileRetriever.findByUserAndRoom(user, room); + Profile profile = profileRetriever.findByUserNotAndRoom(user, room); List rankAnswerDtoList = answerRetriever.findAvgEmotion( profile, date