mirror of
https://github.com/friendica/friendica
synced 2025-05-12 11:44:12 +02:00
Unified JSON exit
This commit is contained in:
parent
344e12c4fc
commit
d15023fe4b
21 changed files with 61 additions and 80 deletions
|
@ -44,7 +44,8 @@ class Featured extends BaseModule
|
|||
|
||||
$page = $request['page'] ?? null;
|
||||
|
||||
$outbox = ActivityPub\Transmitter::getFeatured($owner, $page);
|
||||
System::jsonExit($outbox, 'application/activity+json');
|
||||
$featured = ActivityPub\Transmitter::getFeatured($owner, $page);
|
||||
|
||||
System::jsonExit($featured, 'application/activity+json');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue