Skip to content

Commit

Permalink
Merge pull request #156 from Team-MindWay/155-my-order-book-list-get-…
Browse files Browse the repository at this point in the history
…response-id-add

🔀 :: 내가 신청한 책을 불러오는 response에 id 추가
  • Loading branch information
Umjiseung authored Jun 1, 2024
2 parents 802a9c0 + 2def315 commit 27c5385
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
@Getter
@Builder
public class MyOrdersResponse {
private Long id;
private String title;
private String author;
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public List<MyOrdersResponse> execute() {

return ordersList.stream()
.map(orders -> MyOrdersResponse.builder()
.id(orders.getId())
.title(orders.getTitle())
.author(orders.getAuthor())
.build())
Expand Down

0 comments on commit 27c5385

Please sign in to comment.