diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-10-13 12:26:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-13 12:26:01 +0200 |
commit | 543b16b4f4bbde4e9857490e2175e44b4d941eb3 (patch) | |
tree | ae73131d19ceccf2514f8fa145c9a612c638cdfa /application/api/controllers/ApiController.php | |
parent | 8f269b49d7063af5a43021c8775b02d17205a7b5 (diff) | |
parent | b06fc28aa32f477e1785cd998385fdb490bc5ebf (diff) | |
download | Shaarli-543b16b4f4bbde4e9857490e2175e44b4d941eb3.tar.gz Shaarli-543b16b4f4bbde4e9857490e2175e44b4d941eb3.tar.zst Shaarli-543b16b4f4bbde4e9857490e2175e44b4d941eb3.zip |
Merge pull request #1525 from ArthurHoaro/feature/rest-api-bookmark-dates
REST API: allow override of creation and update dates
Diffstat (limited to 'application/api/controllers/ApiController.php')
-rw-r--r-- | application/api/controllers/ApiController.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/application/api/controllers/ApiController.php b/application/api/controllers/ApiController.php index c4b3d0c3..88a845eb 100644 --- a/application/api/controllers/ApiController.php +++ b/application/api/controllers/ApiController.php | |||
@@ -4,6 +4,7 @@ namespace Shaarli\Api\Controllers; | |||
4 | 4 | ||
5 | use Shaarli\Bookmark\BookmarkServiceInterface; | 5 | use Shaarli\Bookmark\BookmarkServiceInterface; |
6 | use Shaarli\Config\ConfigManager; | 6 | use Shaarli\Config\ConfigManager; |
7 | use Shaarli\History; | ||
7 | use Slim\Container; | 8 | use Slim\Container; |
8 | 9 | ||
9 | /** | 10 | /** |
@@ -31,7 +32,7 @@ abstract class ApiController | |||
31 | protected $bookmarkService; | 32 | protected $bookmarkService; |
32 | 33 | ||
33 | /** | 34 | /** |
34 | * @var HistoryController | 35 | * @var History |
35 | */ | 36 | */ |
36 | protected $history; | 37 | protected $history; |
37 | 38 | ||