The table calendar view breaks for secretaries and providers due to appointment and unavailability removals (#1211)

This commit is contained in:
Alex Tselegidis 2022-02-23 11:42:30 +01:00
parent 9c87d53079
commit b841864bc9
1 changed files with 4 additions and 0 deletions

View File

@ -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)); $this->output->set_output(json_encode($response));
} }
catch (Exception $exception) catch (Exception $exception)