mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:45:16 +02:00
Another renamed function
This commit is contained in:
parent
8841519c0d
commit
78a7e130ae
2 changed files with 3 additions and 3 deletions
|
@ -53,7 +53,7 @@ function profile_init(App $a)
|
|||
if (ActivityPub::isRequest()) {
|
||||
$user = DBA::selectFirst('user', ['uid'], ['nickname' => $which]);
|
||||
if (DBA::isResult($user)) {
|
||||
$data = ActivityPub\Transmitter::profile($user['uid']);
|
||||
$data = ActivityPub\Transmitter::getProfile($user['uid']);
|
||||
echo json_encode($data);
|
||||
header('Content-Type: application/activity+json');
|
||||
exit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue