1
0
Fork 0
forked from mirror/pixelfed

Update ApiV1Controller, update statusCreate entity

This commit is contained in:
Daniel Supernault 2022-03-25 02:10:57 -06:00
parent db7b1af343
commit a84ab6ea92
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -2242,6 +2242,11 @@ class ApiV1Controller extends Controller
Cache::forget($limitKey);
$res = StatusService::getMastodon($status->id, false);
$res['favourited'] = false;
$res['language'] = 'en';
$res['bookmarked'] = false;
$res['pinned'] = false;
$res['card'] = null;
return $this->json($res);
}