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;
use Friendica\Database\DBA;
use Friendica\DI;
use Friendica\Module\BaseApi;
/**
@@ -45,6 +44,6 @@ class SavedSearches extends BaseApi
DBA::close($terms);
DI::apiResponse()->exit('terms', ['terms' => $result], $this->parameters['extension'] ?? null);
$this->response->exit('terms', ['terms' => $result], $this->parameters['extension'] ?? null);
}
}