mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 01:24:27 +02: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
|
@ -47,7 +47,7 @@ class Activity extends BaseApi
|
|||
|
||||
$request = self::getRequest([
|
||||
'id' => 0, // Id of the post
|
||||
]);
|
||||
], $request);
|
||||
|
||||
$res = Item::performActivity($request['id'], $this->parameters['verb'], $uid);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue