Remove TEMP modification
continuous-integration/drone/push Build is passing Details

master
dorian.hodin 2 years ago
parent d551f6136f
commit c22b67c16c

@ -44,10 +44,7 @@ $app->get('/', function (Request $request, Response $response) {
if (method_exists($gateway, $method)) {
$ok = true;
$rep = ((new $gateway)->$method($parameters));
#$response->getBody()->write(json_encode($rep, JSON_UNESCAPED_UNICODE));
$response->getBody()->write($rep);
$response->getBody()->write($rep);
$response->getBody()->write(json_encode($response->getBody(),JSON_UNESCAPED_UNICODE));
$response->getBody()->write(json_encode($rep, JSON_UNESCAPED_UNICODE));
}
}catch (PDOException $e){
throw new PDOError($request,$e->getMessage(),$e);

Loading…
Cancel
Save