Renamed attach to load in Backend_api.php

This commit is contained in:
Alex Tselegidis 2021-11-06 17:14:57 +01:00
parent 331aa8c174
commit 85bd7b9b38

View file

@ -458,7 +458,7 @@ class Backend_api extends EA_Controller {
foreach ($appointments as &$appointment) foreach ($appointments as &$appointment)
{ {
$this->appointments_model->attach($appointment, [ $this->appointments_model->load($appointment, [
'service', 'service',
'provider', 'provider',
]); ]);