mirror of
https://github.com/friendica/friendica
synced 2025-04-25 09:10:11 +00:00
Transform ApiResponse::exit() into dynamic method
This commit is contained in:
parent
4309f814e0
commit
ea0f41ecf0
13 changed files with 27 additions and 30 deletions
|
@ -21,8 +21,8 @@
|
|||
|
||||
namespace Friendica\Module\Api\Twitter\Account;
|
||||
|
||||
use Friendica\Module\Api\ApiResponse;
|
||||
use Friendica\Module\BaseApi;
|
||||
use Friendica\DI;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
|
||||
/**
|
||||
|
@ -52,6 +52,6 @@ class RateLimitStatus extends BaseApi
|
|||
];
|
||||
}
|
||||
|
||||
ApiResponse::exit('hash', ['hash' => $hash], $parameters['extension'] ?? null);
|
||||
DI::apiResponse()->exit('hash', ['hash' => $hash], $parameters['extension'] ?? null);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue