mirror of
https://github.com/friendica/friendica
synced 2025-04-25 05:50:12 +00: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\Accounts;
|
||||
|
||||
use Friendica\App\Router;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Module\BaseApi;
|
||||
use Friendica\Util\HTTPInputData;
|
||||
|
@ -39,6 +40,6 @@ class UpdateCredentials extends BaseApi
|
|||
|
||||
Logger::info('Patch data', ['data' => $data]);
|
||||
|
||||
self::unsupported('patch');
|
||||
self::unsupported(Router::PATCH);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue