mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-04 08:41:50 +02:00
Fixed a bad warning appearing sometimes
This commit is contained in:
parent
da8b974a05
commit
0c2a0afb05
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ $app->any('/api[/{params:.*}]', function (
|
|||
}
|
||||
$_SESSION['user'] = $_SESSION['auth_username'];
|
||||
},
|
||||
'customization.afterHandler' => function ($operation, $tableName, &$response, $environment) {
|
||||
'customization.afterHandler' => function ($operation, $tableName, $response, $environment) {
|
||||
$bodyContent = (string) $response->getBody();
|
||||
$response->getBody()->rewind();
|
||||
$data = json_decode($bodyContent, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue