Load the api library before using it in Unavailabilities_api_v1.php

This commit is contained in:
Alex Tselegidis 2023-10-27 09:01:00 +02:00
parent 29940e2cd1
commit bcf03a4b90

View file

@ -24,6 +24,8 @@ class Unavailabilities_api_v1 extends EA_Controller {
{
parent::__construct();
$this->load->library('api');
$this->api->auth();
$this->api->model('unavailabilities_model');