diff --git a/application/controllers/Backend_api.php b/application/controllers/Backend_api.php index c2f4b793..c10f4aab 100755 --- a/application/controllers/Backend_api.php +++ b/application/controllers/Backend_api.php @@ -134,6 +134,10 @@ class Backend_api extends EA_Controller { } } + $response['appointments'] = array_values($response['appointments']); + + $response['unavailability_events'] = array_values($response['unavailability_events']); + $this->output->set_output(json_encode($response)); } catch (Exception $exception)