diff --git a/server/src/orders/application/orders-list.service.ts b/server/src/orders/application/orders-list.service.ts index 4ba2c88..56a0dc5 100644 --- a/server/src/orders/application/orders-list.service.ts +++ b/server/src/orders/application/orders-list.service.ts @@ -1,5 +1,3 @@ -import type Order from '../domain/order'; - import { findAll } from '../domain/order.repository'; export const getAllOrders = async () => { @@ -19,11 +17,3 @@ export const getAllOrders = async () => { return findOrder; }; - -const getOrders = (orders: Order[]) => { - orders.map((order) => { - return { - orderId: order.getId(), - }; - }); -};