diff --git a/app/Controllers/AreaGeo.php b/app/Controllers/AreaGeo.php index a58274e..dc16d25 100644 --- a/app/Controllers/AreaGeo.php +++ b/app/Controllers/AreaGeo.php @@ -33,7 +33,7 @@ class AreaGeo extends BaseController { public function getProvinces() { $rows = $this->model->getProvinces(); if (empty($rows)) { return $this->respond([ 'status' => 'success', 'message' => "data not found", 'data' => '' ], 200); } - return $this->respond([ 'status' => 'success', 'message'=> "Data fetched successfully", 'data' => [ $rows ] ], 200); + return $this->respond([ 'status' => 'success', 'message'=> "Data fetched successfully", 'data' => $rows ], 200); } public function getCities() {