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);