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:
parent
db7b1af343
commit
a84ab6ea92
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue