Hotfix: History controller for the REST API has been renamed in a previous commit

but the class name hasn't been updated in index.php
This commit is contained in:
ArthurHoaro 2019-04-15 17:45:58 +02:00
parent b7aad51e8a
commit 18d2d3ae15
1 changed files with 1 additions and 1 deletions

View File

@ -1888,7 +1888,7 @@ $app->group('/api/v1', function () {
$this->put('/tags/{tagName:[\w]+}', '\Shaarli\Api\Controllers\Tags:putTag')->setName('putTag');
$this->delete('/tags/{tagName:[\w]+}', '\Shaarli\Api\Controllers\Tags:deleteTag')->setName('deleteTag');
$this->get('/history', '\Shaarli\Api\Controllers\History:getHistory')->setName('getHistory');
$this->get('/history', '\Shaarli\Api\Controllers\HistoryController:getHistory')->setName('getHistory');
})->add('\Shaarli\Api\ApiMiddleware');
$response = $app->run(true);