From 79a7abe679c59da4e132552b6efae2bf9bd82db7 Mon Sep 17 00:00:00 2001 From: JIN-076 Date: Fri, 10 May 2024 02:15:01 +0900 Subject: [PATCH] =?UTF-8?q?[FIX]=20=EC=A0=9C=EA=B1=B0=EB=90=9C=20=EB=A9=94?= =?UTF-8?q?=EC=84=9C=EB=93=9C=EB=A5=BC=20=EB=8B=A4=EB=A5=B8=20=EB=A9=94?= =?UTF-8?q?=EC=84=9C=EB=93=9C=EB=A1=9C=20=EB=8C=80=EC=B2=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mogakgo/common/event/handler/AchievementCheckListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/oeid/mogakgo/common/event/handler/AchievementCheckListener.java b/src/main/java/io/oeid/mogakgo/common/event/handler/AchievementCheckListener.java index 2a76652c..8a000705 100644 --- a/src/main/java/io/oeid/mogakgo/common/event/handler/AchievementCheckListener.java +++ b/src/main/java/io/oeid/mogakgo/common/event/handler/AchievementCheckListener.java @@ -146,7 +146,7 @@ private boolean isAvailableToAchieveOnce(ActivityType activityType) { } private Integer getProgressLevelSize(ActivityType activityType) { - return achievementRepository.findByActivityType(activityType).size(); + return achievementRepository.findMaxProgressLevelByActivityType(activityType); } }