Use router constants

This commit is contained in:
Michael 2021-07-30 06:19:02 +00:00
parent c9eca1edeb
commit 432206bc5b
5 changed files with 16 additions and 11 deletions

View file

@ -21,6 +21,7 @@
namespace Friendica\Module\Api\Mastodon;
use Friendica\App\Router;
use Friendica\Core\System;
use Friendica\Module\BaseApi;
@ -33,7 +34,7 @@ class Markers extends BaseApi
{
self::checkAllowedScope(self::SCOPE_WRITE);
self::unsupported('post');
self::unsupported(Router::POST);
}
/**