forked from mirror/pixelfed
Update ApiV1Controller
This commit is contained in:
parent
31d9e5fb9e
commit
e825b07d88
1 changed files with 7 additions and 7 deletions
|
@ -143,13 +143,13 @@ class ApiV1Controller extends Controller
|
||||||
|
|
||||||
$res = AccountService::getMastodon($id);
|
$res = AccountService::getMastodon($id);
|
||||||
|
|
||||||
$res['source'] = [
|
// $res['source'] = [
|
||||||
'privacy' => $res['locked'] ? 'private' : 'public',
|
// 'privacy' => $res['locked'] ? 'private' : 'public',
|
||||||
'sensitive' => false,
|
// 'sensitive' => false,
|
||||||
'language' => null,
|
// 'language' => null,
|
||||||
'note' => '',
|
// 'note' => '',
|
||||||
'fields' => []
|
// 'fields' => []
|
||||||
];
|
// ];
|
||||||
|
|
||||||
return response()->json($res);
|
return response()->json($res);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue