aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ApiBundle/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/ApiBundle/Controller')
-rw-r--r--src/Wallabag/ApiBundle/Controller/WallabagRestController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php
index 587013f6..c5df1e03 100644
--- a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php
+++ b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php
@@ -174,8 +174,8 @@ class WallabagRestController extends FOSRestController
174 $this->validateUserAccess($entry->getUser()->getId()); 174 $this->validateUserAccess($entry->getUser()->getId());
175 175
176 $title = $request->request->get('title'); 176 $title = $request->request->get('title');
177 $isArchived = $request->request->get('is_archived'); 177 $isArchived = $request->request->get('archive');
178 $isStarred = $request->request->get('is_starred'); 178 $isStarred = $request->request->get('star');
179 179
180 if (!is_null($title)) { 180 if (!is_null($title)) {
181 $entry->setTitle($title); 181 $entry->setTitle($title);