From 995882662b4d4eed65b5fa2d9f428b65a9a3e779 Mon Sep 17 00:00:00 2001 From: Hritikkk9 Date: Tue, 2 Jul 2024 19:37:45 +0530 Subject: [PATCH 1/2] subscription page updated with errors --- .../Controllers/APIs/Customer_API/SubscriptionController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/APIs/Customer_API/SubscriptionController.php b/app/Http/Controllers/APIs/Customer_API/SubscriptionController.php index 6acafe9..b86b521 100644 --- a/app/Http/Controllers/APIs/Customer_API/SubscriptionController.php +++ b/app/Http/Controllers/APIs/Customer_API/SubscriptionController.php @@ -28,7 +28,7 @@ class SubscriptionController extends Controller try { // dd($request->header('access-token')); $token = readHeaderToken(); - // dd("acc",$token); + dd("acc",$token); // $token = true; // dd($token, Session::get('vendorToken')); From e92996fd34f5d9af278b26e7929c9bcca8e73303 Mon Sep 17 00:00:00 2001 From: Hritikkk9 Date: Tue, 2 Jul 2024 19:39:59 +0530 Subject: [PATCH 2/2] debug --- .../Controllers/APIs/Customer_API/SubscriptionController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/APIs/Customer_API/SubscriptionController.php b/app/Http/Controllers/APIs/Customer_API/SubscriptionController.php index b86b521..ce17ca7 100644 --- a/app/Http/Controllers/APIs/Customer_API/SubscriptionController.php +++ b/app/Http/Controllers/APIs/Customer_API/SubscriptionController.php @@ -26,9 +26,9 @@ class SubscriptionController extends Controller public function mySubscription(Request $request) { try { - // dd($request->header('access-token')); + $token = readHeaderToken(); - dd("acc",$token); + dd("acc",$token,$request->header('access-token')); // $token = true; // dd($token, Session::get('vendorToken'));