Inherit ApiResponse from Response

This commit is contained in:
Philipp
2021-11-21 21:52:36 +01:00
parent 561aba18e3
commit 537b74f307
46 changed files with 326 additions and 277 deletions

View File

@@ -70,6 +70,6 @@ class Index extends BaseApi
];
}
DI::apiResponse()->exit('events', ['events' => $items], $this->parameters['extension'] ?? null);
$this->response->exit('events', ['events' => $items], $this->parameters['extension'] ?? null);
}
}