mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-26 00:23:33 +03:00
Load the api library before using it in Unavailabilities_api_v1.php
This commit is contained in:
parent
29940e2cd1
commit
bcf03a4b90
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ class Unavailabilities_api_v1 extends EA_Controller {
|
||||||
{
|
{
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
|
|
||||||
|
$this->load->library('api');
|
||||||
|
|
||||||
$this->api->auth();
|
$this->api->auth();
|
||||||
|
|
||||||
$this->api->model('unavailabilities_model');
|
$this->api->model('unavailabilities_model');
|
||||||
|
|
Loading…
Reference in a new issue