forked from mirror/pixelfed
Update ApiV1Controller, update statusCreate entity
This commit is contained in:
parent
db7b1af343
commit
a84ab6ea92
|
@ -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 New Issue