1
0
Fork 0
forked from mirror/pixelfed

Fix typo in ApiV1Controller

This commit is contained in:
Daniel Supernault 2022-01-14 17:27:21 -07:00
parent 1be5925263
commit 350585d316
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -141,7 +141,7 @@ class ApiV1Controller extends Controller
abort_if(!$user, 403);
abort_if($user->status != null, 403);
$res = AccountService::getMastodon($id);
$res = AccountService::getMastodon($user->profile_id);
$res['source'] = [
'privacy' => $res['locked'] ? 'private' : 'public',