From 8d49ea29d22d1a54e5aa89eb98dd8886df71e80a Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 25 Jul 2023 20:14:26 +0000 Subject: [PATCH] Fix v1/instance endpoint to make Buffer work --- src/Object/Api/Mastodon/Instance.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Object/Api/Mastodon/Instance.php b/src/Object/Api/Mastodon/Instance.php index e19f6ba135..2012182519 100644 --- a/src/Object/Api/Mastodon/Instance.php +++ b/src/Object/Api/Mastodon/Instance.php @@ -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')];