diff --git a/Source/API/script/index.php b/Source/API/script/index.php index f396ab9..ec4e576 100644 --- a/Source/API/script/index.php +++ b/Source/API/script/index.php @@ -44,7 +44,7 @@ $app->get('/', function (Request $request, Response $response) { if (method_exists($gateway, $method)) { $ok = true; $rep = (new $gateway)->$method($parameters); - echo implode(",",$rep); + echo $rep[0]; #$response->getBody()->write(json_encode("1")); } }catch (PDOException $e){