1
0
Fork 0

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
1 changed files with 5 additions and 0 deletions

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);
} }