Merge pull request #13306 from annando/buffer
Fix v1/instance endpoint to make Buffer work
This commit is contained in:
commit
e5b887b462
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ class Instance extends BaseDataTransferObject
|
||||||
$this->short_description = $this->description = $config->get('config', 'info');
|
$this->short_description = $this->description = $config->get('config', 'info');
|
||||||
$this->email = implode(',', User::getAdminEmailList());
|
$this->email = implode(',', User::getAdminEmailList());
|
||||||
$this->version = '2.8.0 (compatible; Friendica ' . App::VERSION . ')';
|
$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->stats = new Stats($config, $database);
|
||||||
$this->thumbnail = $baseUrl . $config->get('api', 'mastodon_banner');
|
$this->thumbnail = $baseUrl . $config->get('api', 'mastodon_banner');
|
||||||
$this->languages = [$config->get('system', 'language')];
|
$this->languages = [$config->get('system', 'language')];
|
||||||
|
|
Loading…
Reference in a new issue