mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 11:01:04 +00:00
Fix parameters regarding documentation
Parameters are `star` & `archived`, not `is_starred` & `is_archived`
This commit is contained in:
parent
fc73222723
commit
01fddd0cb2
1 changed files with 2 additions and 2 deletions
|
@ -174,8 +174,8 @@ class WallabagRestController extends FOSRestController
|
|||
$this->validateUserAccess($entry->getUser()->getId());
|
||||
|
||||
$title = $request->request->get('title');
|
||||
$isArchived = $request->request->get('is_archived');
|
||||
$isStarred = $request->request->get('is_starred');
|
||||
$isArchived = $request->request->get('archive');
|
||||
$isStarred = $request->request->get('star');
|
||||
|
||||
if (!is_null($title)) {
|
||||
$entry->setTitle($title);
|
||||
|
|
Loading…
Reference in a new issue