Fix typo in ApiV1Controller

pull/3161/head
Daniel Supernault 2022-01-14 17:27:21 -07:00
rodzic 1be5925263
commit 350585d316
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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',