From d1638ed79d6372be4f4ee8c094961e6261f41f6f Mon Sep 17 00:00:00 2001 From: Gowtham M Date: Thu, 6 Nov 2025 14:51:52 +0530 Subject: [PATCH] GWM : handler_id in staff table changesed from int to json --- app/Config/Routes.php | 4 ++-- app/Controllers/StaffController.php | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/Config/Routes.php b/app/Config/Routes.php index 65a8f92..8311fca 100755 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -27,7 +27,7 @@ $routes->group('api', ['filter' => 'appSignature'], function ($routes) { //api's with token -// $routes->group('api', ['filter' => ["jwtAuth","appSignature"] ], function ($routes) { + $routes->group('api', ['filter' => ["jwtAuth","appSignature"] ], function ($routes) { //logout $routes->get('auth/logout', 'StaffAuthController::logout'); @@ -109,7 +109,7 @@ $routes->group('api', ['filter' => 'appSignature'], function ($routes) { $routes->get('dashboard/staffDashboard', 'DashboardController::staffDashboard'); $routes->get('dashboard/agentDashboard', 'DashboardController::agentDashboard'); -// }); + }); diff --git a/app/Controllers/StaffController.php b/app/Controllers/StaffController.php index f3bf486..4cdc70d 100644 --- a/app/Controllers/StaffController.php +++ b/app/Controllers/StaffController.php @@ -40,7 +40,6 @@ class StaffController extends ResourceController // ->where('partner_staff.handler_id' , $handler_id ) ->findAll(); } - dd($data); return $this->respond(['status' => 'success', 'code' => 200, 'data' => $data], 200);