mirror of
https://github.com/friendica/friendica
synced 2025-04-25 05:10:11 +00:00
Add expected second parameter to BaseApi::getRequest in a few put() methods
This commit is contained in:
parent
46e251be1f
commit
e1d6de757f
3 changed files with 3 additions and 3 deletions
|
@ -79,7 +79,7 @@ class Lists extends BaseApi
|
|||
$request = $this->getRequest([
|
||||
'title' => '', // The title of the list to be updated.
|
||||
'replies_policy' => '', // One of: "followed", "list", or "none".
|
||||
]);
|
||||
], $request);
|
||||
|
||||
if (empty($request['title']) || empty($this->parameters['id'])) {
|
||||
DI::mstdnError()->UnprocessableEntity();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue