add: shipment item to cart
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user