mirror of
https://github.com/friendica/friendica
synced 2025-05-08 00:24:12 +02:00
Use router constants
This commit is contained in:
parent
c9eca1edeb
commit
432206bc5b
5 changed files with 16 additions and 11 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue