1
1
Fork 0

Fix variable name

This commit is contained in:
Michael 2023-02-14 20:43:54 +00:00
parent 41f6e72aa0
commit 64a8ad6601
2 changed files with 3 additions and 4 deletions

View file

@ -61,12 +61,12 @@ class Inbox extends BaseApi
if ($owner['uid'] != $uid) {
throw new \Friendica\Network\HTTPException\ForbiddenException();
}
$outbox = ActivityPub\ClientToServer::getInbox($uid, $page, $request['max_id'] ?? null);
$inbox = ActivityPub\ClientToServer::getInbox($uid, $page, $request['max_id'] ?? null);
} else {
$outbox = ActivityPub\ClientToServer::getPublicInbox($uid, $page, $request['max_id'] ?? null);
$inbox = ActivityPub\ClientToServer::getPublicInbox($uid, $page, $request['max_id'] ?? null);
}
System::jsonExit($outbox, 'application/activity+json');
System::jsonExit($inbox, 'application/activity+json');
}
protected function post(array $request = [])

View file

@ -35,7 +35,6 @@ use Friendica\Model\APContact;
use Friendica\Model\Contact;
use Friendica\Model\Conversation;
use Friendica\Model\Event;
use Friendica\Model\Group;
use Friendica\Model\GServer;
use Friendica\Model\Item;
use Friendica\Model\ItemURI;