X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FApi%2FMastodon%2FFilters.php;h=c2ee8034304a3dbd8dceae054e824f4771969151;hb=85f57e69faaca3645c596afd12e4b024194ae349;hp=81794e679c2aca0b255327f551c4edf868586b4c;hpb=11bc9682948471ec9a225f8c8f70b1604a90092f;p=friendica.git diff --git a/src/Module/Api/Mastodon/Filters.php b/src/Module/Api/Mastodon/Filters.php index 81794e679c..c2ee803430 100644 --- a/src/Module/Api/Mastodon/Filters.php +++ b/src/Module/Api/Mastodon/Filters.php @@ -1,6 +1,6 @@ response->unsupported(Router::POST, $request); } /** - * @param array $parameters * @throws \Friendica\Network\HTTPException\InternalServerErrorException */ - public static function rawContent(array $parameters = []) + protected function rawContent(array $request = []) { - self::login(self::SCOPE_READ); + self::checkAllowedScope(self::SCOPE_READ); System::jsonExit([]); }