Skip to content

Commit

Permalink
Merge pull request #170 from jihwooon/issue-97
Browse files Browse the repository at this point in the history
주문 목록 응답 데이터 수정
  • Loading branch information
jihwooon authored Mar 12, 2024
2 parents aba239f + 496f50a commit 55a6013
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions server/src/orders/application/orders-list.service.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import type Order from '../domain/order';

import { findAll } from '../domain/order.repository';

export const getAllOrders = async () => {
Expand All @@ -19,11 +17,3 @@ export const getAllOrders = async () => {

return findOrder;
};

const getOrders = (orders: Order[]) => {
orders.map((order) => {
return {
orderId: order.getId(),
};
});
};

0 comments on commit 55a6013

Please sign in to comment.