Removing test line, API should be 100% functional
continuous-integration/drone/push Build is passing Details

master
dorian.hodin 2 years ago
parent 5e93f7a474
commit 18f5f57e2c

@ -52,14 +52,6 @@ $app->get('/', function (Request $request, Response $response) {
if (!$ok){ if (!$ok){
throw new HttpNotFoundError($request); throw new HttpNotFoundError($request);
} }
$temp = array(0 => array("id" => "1",
"0" => "1",
"title" => "Votre avis nous intéresse !",
"1" => "Votre avis nous intéresse !",
"description" => "Ce formulaire vous permet de candidater à une potentielle interview si votre profil nous intéresse.",
"2" => "Ce formulaire vous permet de candidater à une potentielle interview si votre profil nous intéresse."
));
$response->getBody()->write(json_encode($temp));
return $response->withHeader('Content-type', 'application/json'); return $response->withHeader('Content-type', 'application/json');
}); });

Loading…
Cancel
Save