Skip to content

Commit

Permalink
Load the api library before using it in Unavailabilities_api_v1.php
Browse files Browse the repository at this point in the history
  • Loading branch information
alextselegidis committed Oct 27, 2023
1 parent 29940e2 commit bcf03a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions application/controllers/api/v1/Unavailabilities_api_v1.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ public function __construct()
{
parent::__construct();

$this->load->library('api');

$this->api->auth();

$this->api->model('unavailabilities_model');
Expand Down

0 comments on commit bcf03a4

Please sign in to comment.