add: shipment item to cart

This commit is contained in:
morteza-mortezai
2025-10-28 14:33:16 +03:30
parent 640ad6e91c
commit 0672103465
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -353,6 +353,9 @@ class CartShipItemRepo extends BaseRepository<ICartShipmentItem> {
constructor() {
super(CartShipmentItemModel);
}
async getCartShipmentItems(cartId: string) {
return this.model.find({ cart: cartId });
}
}
function createCartShipItemRepo(): CartShipItemRepo {