Inherit ApiResponse from Response

This commit is contained in:
Philipp
2021-11-21 21:52:36 +01:00
parent 561aba18e3
commit 537b74f307
46 changed files with 326 additions and 277 deletions

View File

@@ -22,7 +22,6 @@
namespace Friendica\Module\Api\Twitter\Account;
use Friendica\Module\BaseApi;
use Friendica\DI;
use Friendica\Util\DateTimeFormat;
/**
@@ -52,6 +51,6 @@ class RateLimitStatus extends BaseApi
];
}
DI::apiResponse()->exit('hash', ['hash' => $hash], $this->parameters['extension'] ?? null);
$this->response->exit('hash', ['hash' => $hash], $this->parameters['extension'] ?? null);
}
}