Skip to content

Commit 450a149

Browse files
authored
Merge pull request #45 from CapstoneProjectCMC/payment-service
fix response of statistic for user
2 parents 4e44e6e + 6f73786 commit 450a149

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

payment-service/src/main/java/com/codecampus/payment/service/PaymentStatisticService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ public List<DailyStatisticSummaryResponse> getDailyStatisticSummary(int year, in
6868
.stream()
6969
.map(p -> new DailyStatisticSummaryResponse(
7070
p.getDay(),
71-
p.getPurchaseAmount(),
7271
p.getDepositAmount(),
72+
p.getPurchaseAmount(),
7373
p.getWalletBalance()
7474
))
7575
.toList();

0 commit comments

Comments
 (0)