mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 00:45:14 +02:00
Remove dependency on super-globals in Module\Api\ApiResponse
- Updated DI dependencies to reflect the new parameters - Updated tests to reflect the new parameters
This commit is contained in:
parent
d165a96220
commit
960171c4e0
3 changed files with 85 additions and 8 deletions
|
@ -330,4 +330,10 @@ return [
|
|||
$_SERVER
|
||||
],
|
||||
],
|
||||
\Friendica\Module\Api\ApiResponse::class => [
|
||||
'constructParams' => [
|
||||
$_SERVER,
|
||||
$_GET['callback'] ?? '',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue