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:
@@ -330,4 +330,10 @@ return [
|
||||
$_SERVER
|
||||
],
|
||||
],
|
||||
\Friendica\Module\Api\ApiResponse::class => [
|
||||
'constructParams' => [
|
||||
$_SERVER,
|
||||
$_GET['callback'] ?? '',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user