mirror of
https://github.com/friendica/friendica
synced 2025-05-07 23:44:09 +02:00
Transform ApiResponse::unspported() into dynamic method
This commit is contained in:
parent
ebf56674f1
commit
5bfcc8b91c
7 changed files with 19 additions and 20 deletions
|
@ -23,7 +23,7 @@ namespace Friendica\Module\Api\Mastodon;
|
|||
|
||||
use Friendica\App\Router;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Module\Api\ApiResponse;
|
||||
use Friendica\DI;
|
||||
use Friendica\Module\BaseApi;
|
||||
|
||||
/**
|
||||
|
@ -35,7 +35,7 @@ class Markers extends BaseApi
|
|||
{
|
||||
self::checkAllowedScope(self::SCOPE_WRITE);
|
||||
|
||||
ApiResponse::unsupported(Router::POST);
|
||||
DI::apiResponse()->unsupported(Router::POST);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue