diff --git a/src/main/java/com/coniverse/dangjang/domain/point/service/PointService.java b/src/main/java/com/coniverse/dangjang/domain/point/service/PointService.java index 667b89a3..b43d3263 100644 --- a/src/main/java/com/coniverse/dangjang/domain/point/service/PointService.java +++ b/src/main/java/com/coniverse/dangjang/domain/point/service/PointService.java @@ -1,6 +1,7 @@ package com.coniverse.dangjang.domain.point.service; import java.time.LocalDate; +import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; @@ -188,7 +189,7 @@ private int getBalancePoint(int changePoint, int balancePoint) { */ public ProductListResponse getProducts(String oauthId) { int balancePoint = pointSearchService.findUserPointByOauthId(oauthId).getPoint(); - List productList = pointSearchService.findAllByType(PointType.USE); + List productList = new ArrayList<>(); List descriptionListToEarnPoint = pointSearchService.findAllByType(PointType.EARN).stream() .map(PointProduct::getDescription) .collect(Collectors.toList());