]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Hotfix: History controller for the REST API has been renamed in a previous commit 1293/head
authorArthurHoaro <arthur@hoa.ro>
Mon, 15 Apr 2019 15:45:58 +0000 (17:45 +0200)
committerArthurHoaro <arthur@hoa.ro>
Mon, 15 Apr 2019 15:45:58 +0000 (17:45 +0200)
but the class name hasn't been updated in index.php

index.php

index a96c9cfd3b4850757034f5f4d6ab4dd198cab8a3..5447823713d3f658b786e87803a2fe11630ba6c3 100644 (file)
--- a/index.php
+++ b/index.php
@@ -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);