diff --git a/app/Config/Routes.php b/app/Config/Routes.php index 906d95c..6d61e81 100755 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -46,7 +46,7 @@ $routes->post('forgotPassword/changePassword', 'UserController::forgotChangePass //api's with token -// $routes->group('api', ['filter' => ["jwtAuth","appSignature"] ], function ($routes) { + $routes->group('api', ['filter' => ["jwtAuth","appSignature"] ], function ($routes) { $routes->get('user/refreshUserToken', 'AuthController::refreshUserToken'); @@ -174,7 +174,7 @@ $routes->post('forgotPassword/changePassword', 'UserController::forgotChangePass $routes->post('guestHouseReport', 'ReportsController::guestHouseReport'); -// }); + }); // plan review related signed url diff --git a/app/Controllers/PlanController.php b/app/Controllers/PlanController.php index f77bfe8..8cbe5f8 100644 --- a/app/Controllers/PlanController.php +++ b/app/Controllers/PlanController.php @@ -1710,7 +1710,7 @@ class PlanController extends ResourceController default: $result['policy_action_flow'] = "Unknown flow"; } - $result['Approval_criteria'] = $this->plan_policy_action_status($plan_id,true); + $result['approval_criteria'] = $this->plan_policy_action_status($plan_id,true); return $this->respond([ 'status' => 200, 'message' => 'success', 'data' => $result ]);