clear cart
This commit is contained in:
@@ -71,6 +71,10 @@ export class CartService {
|
||||
}
|
||||
return cart;
|
||||
}
|
||||
async findOne2(userId: string, restaurantId: string): Promise<Cart | null> {
|
||||
const cart = await this.getCartByRestaurant(userId, restaurantId);
|
||||
return cart;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add item to cart (increment quantity if item exists, otherwise create new)
|
||||
|
||||
Reference in New Issue
Block a user