merge with master

This commit is contained in:
rahul shukla 2019-09-27 15:23:58 +05:30
parent 2d0094f330
commit fda8498721
1 changed files with 3 additions and 3 deletions

View File

@ -51,9 +51,9 @@ class CartController extends Controller
$this->guard = request()->has('token') ? 'api' : 'customer';
auth()->setDefaultDriver($this->guard);
// $this->middleware('auth:' . $this->guard);
$this->_config = request('_config');
$this->cartRepository = $cartRepository;
@ -152,7 +152,7 @@ class CartController extends Controller
public function destroy()
{
Event::fire('checkout.cart.delete.before');
Cart::deActivateCart();
Event::fire('checkout.cart.delete.after');