Skip to content

Commit

Permalink
[#104] fix: 사용하는 dto 변경 (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
sae2say authored Jan 21, 2025
1 parent 6f2d8b5 commit 03ed373
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ public ResponseEntity<SuccessResponse<ProductSellListResponse>> getTopSellProduc
}

@GetMapping("/home/buy")
public ResponseEntity<SuccessResponse<ProductSellListResponse>> getTopBuyProducts(
public ResponseEntity<SuccessResponse<ProductBuyListResponse>> getTopBuyProducts(
@RequestParam(defaultValue = "4") int size,
@CurrentMember Long currentStoreId
) {
Expand All @@ -450,7 +450,7 @@ public ResponseEntity<SuccessResponse<ProductSellListResponse>> getTopBuyProduct
Map<Long, String> genreMap = fetchGenreMap(pagination);

// 4. 응답 생성
ProductSellListResponse response = ProductSellListResponse.from(
ProductBuyListResponse response = ProductBuyListResponse.from(
parsedSortOption, pagination, interestMap, genreMap, currentStoreId
);

Expand Down

0 comments on commit 03ed373

Please sign in to comment.