mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-26 00:23:33 +03:00
Renamed attach to load in Backend_api.php
This commit is contained in:
parent
331aa8c174
commit
85bd7b9b38
1 changed files with 1 additions and 1 deletions
|
@ -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',
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in a new issue