From e99d2db1d31c5217114032835e531340baf07132 Mon Sep 17 00:00:00 2001 From: Dora Choo Date: Tue, 20 Aug 2024 13:00:04 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=B0=B8=EC=97=AC=EC=9E=90=20=EB=AA=A9?= =?UTF-8?q?=EB=A1=9D=20=EC=A1=B0=ED=9A=8C=20API=EC=97=90=EC=84=9C=20totalC?= =?UTF-8?q?ount=20=EB=B0=98=ED=99=98=ED=95=98=EC=A7=80=20=EC=95=8A?= =?UTF-8?q?=EB=8A=94=20=EC=9D=B4=EC=8A=88=20=ED=95=B4=EA=B2=B0=20(#400)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/dto/ParticipantCountResponseItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/com/zzang/chongdae/offeringmember/service/dto/ParticipantCountResponseItem.java b/backend/src/main/java/com/zzang/chongdae/offeringmember/service/dto/ParticipantCountResponseItem.java index 06dbb8b6d..3a0d52eab 100644 --- a/backend/src/main/java/com/zzang/chongdae/offeringmember/service/dto/ParticipantCountResponseItem.java +++ b/backend/src/main/java/com/zzang/chongdae/offeringmember/service/dto/ParticipantCountResponseItem.java @@ -5,6 +5,6 @@ public record ParticipantCountResponseItem(int currentCount, int totalCount) { public ParticipantCountResponseItem(OfferingEntity offering) { - this(offering.getCurrentCount(), offering.getCurrentCount()); + this(offering.getCurrentCount(), offering.getTotalCount()); } }