1
1
Fork 0

Fix v1/instance endpoint to make Buffer work

This commit is contained in:
Michael 2023-07-25 20:14:26 +00:00
parent 28d55c8c5d
commit 8d49ea29d2

View file

@ -89,7 +89,7 @@ class Instance extends BaseDataTransferObject
$this->short_description = $this->description = $config->get('config', 'info');
$this->email = implode(',', User::getAdminEmailList());
$this->version = '2.8.0 (compatible; Friendica ' . App::VERSION . ')';
$this->urls = null; // Not supported
$this->urls = ['streaming_api' => '']; // Not supported
$this->stats = new Stats($config, $database);
$this->thumbnail = $baseUrl . $config->get('api', 'mastodon_banner');
$this->languages = [$config->get('system', 'language')];