mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-30 04:51:01 +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());
|
$this->validateUserAccess($entry->getUser()->getId());
|
||||||
|
|
||||||
$title = $request->request->get('title');
|
$title = $request->request->get('title');
|
||||||
$isArchived = $request->request->get('is_archived');
|
$isArchived = $request->request->get('archive');
|
||||||
$isStarred = $request->request->get('is_starred');
|
$isStarred = $request->request->get('star');
|
||||||
|
|
||||||
if (!is_null($title)) {
|
if (!is_null($title)) {
|
||||||
$entry->setTitle($title);
|
$entry->setTitle($title);
|
||||||
|
|
Loading…
Reference in a new issue