]> git.mxchange.org Git - friendica.git/commitdiff
Fix v1/instance endpoint to make Buffer work
authorMichael <heluecht@pirati.ca>
Tue, 25 Jul 2023 20:14:26 +0000 (20:14 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 25 Jul 2023 20:14:26 +0000 (20:14 +0000)
src/Object/Api/Mastodon/Instance.php

index e19f6ba135e701981b5aef40893860ded7d27dbd..2012182519988dea18823ee12fe4fe5ecdd5ea2e 100644 (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')];