Merge pull request #13306 from annando/buffer

Fix v1/instance endpoint to make Buffer work
pull/13309/head
Hypolite Petovan 2023-07-25 22:20:36 +02:00 zatwierdzone przez GitHub
commit e5b887b462
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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')];