1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-27 18:26:50 +00:00

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); Cache::forget($limitKey);
$res = StatusService::getMastodon($status->id, false); $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); return $this->json($res);
} }