mirror of
https://github.com/friendica/friendica
synced 2025-04-24 10:30:11 +00:00
Add a second parameter to BaseApi::getRequest to enable API tests
This commit is contained in:
parent
d83ebe6031
commit
9cc675233d
40 changed files with 45 additions and 41 deletions
|
@ -43,7 +43,7 @@ class Note extends BaseApi
|
|||
|
||||
$request = self::getRequest([
|
||||
'comment' => '',
|
||||
]);
|
||||
], $request);
|
||||
|
||||
$cdata = Contact::getPublicAndUserContactID($this->parameters['id'], $uid);
|
||||
if (empty($cdata['user'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue