]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Api/Mastodon/Filters.php
Issue 12191: We can now follow and unfollow tags via API
[friendica.git] / src / Module / Api / Mastodon / Filters.php
index 3c902bc17b664c4c65bde857191c6bc9713f3106..c2ee8034304a3dbd8dceae054e824f4771969151 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -31,11 +31,11 @@ use Friendica\Module\BaseApi;
  */
 class Filters extends BaseApi
 {
-       public function post(array $request = [], array $post = [])
+       protected function post(array $request = [])
        {
                self::checkAllowedScope(self::SCOPE_WRITE);
 
-               $this->response->unsupported(Router::POST);
+               $this->response->unsupported(Router::POST, $request);
        }
 
        /**