mirror of
https://github.com/friendica/friendica
synced 2025-04-23 05:50:11 +00:00
Changed parameter order
This commit is contained in:
parent
dc73cbe30c
commit
cef4349421
5 changed files with 19 additions and 17 deletions
|
@ -66,7 +66,7 @@ class Reports extends BaseApi
|
|||
throw new HTTPException\NotFoundException('Account ' . $request['account_id'] . ' not found');
|
||||
}
|
||||
|
||||
$report = $this->reportFactory->createFromReportsRequest(self::getCurrentUserID(), Contact::getPublicIdByUserId(self::getCurrentUserID()), $request['account_id'], $request['comment'], $request['category'], $request['forward'], $request['status_ids']);
|
||||
$report = $this->reportFactory->createFromReportsRequest(Contact::getPublicIdByUserId(self::getCurrentUserID()), $request['account_id'], $request['comment'], $request['category'], $request['forward'], $request['status_ids'], self::getCurrentUserID());
|
||||
|
||||
$this->reportRepo->save($report);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue