forked from mirror/pixelfed
Fix typo in ApiV1Controller
This commit is contained in:
parent
1be5925263
commit
350585d316
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ class ApiV1Controller extends Controller
|
||||||
abort_if(!$user, 403);
|
abort_if(!$user, 403);
|
||||||
abort_if($user->status != null, 403);
|
abort_if($user->status != null, 403);
|
||||||
|
|
||||||
$res = AccountService::getMastodon($id);
|
$res = AccountService::getMastodon($user->profile_id);
|
||||||
|
|
||||||
$res['source'] = [
|
$res['source'] = [
|
||||||
'privacy' => $res['locked'] ? 'private' : 'public',
|
'privacy' => $res['locked'] ? 'private' : 'public',
|
||||||
|
|
Loading…
Reference in a new issue