]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Api/Mastodon/Instance.php
Merge pull request #13176 from MrPetovan/bug/warnings
[friendica.git] / src / Module / Api / Mastodon / Instance.php
index e5e0a957969990f3a5c3802c935b4011db727494..aaa0bbf50311be3ca2e3683b4af6f42223603b26 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -59,6 +59,6 @@ class Instance extends BaseApi
         */
        protected function rawContent(array $request = [])
        {
-               System::jsonExit(new InstanceEntity($this->config, $this->baseUrl, $this->database));
+               System::jsonExit(new InstanceEntity($this->config, $this->baseUrl, $this->database, System::getRules()));
        }
 }