From fda8498721b34fda470610b5d78b49e8fc8de30f Mon Sep 17 00:00:00 2001 From: rahul shukla Date: Fri, 27 Sep 2019 15:23:58 +0530 Subject: [PATCH] merge with master --- .../Webkul/API/Http/Controllers/Shop/CartController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/Webkul/API/Http/Controllers/Shop/CartController.php b/packages/Webkul/API/Http/Controllers/Shop/CartController.php index 1846c7a9e..bc0ca2d06 100644 --- a/packages/Webkul/API/Http/Controllers/Shop/CartController.php +++ b/packages/Webkul/API/Http/Controllers/Shop/CartController.php @@ -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');