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

View file

@ -1888,7 +1888,7 @@ function install($conf, $sessionManager, $loginManager)
$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);