From 18f5f57e2cbd56a558c228d3cf8ecc8f3319d349 Mon Sep 17 00:00:00 2001 From: "dorian.hodin" Date: Mon, 6 Mar 2023 16:22:18 +0100 Subject: [PATCH] Removing test line, API should be 100% functional --- Source/API/script/index.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Source/API/script/index.php b/Source/API/script/index.php index 6d200b8..68cb3a3 100644 --- a/Source/API/script/index.php +++ b/Source/API/script/index.php @@ -52,14 +52,6 @@ $app->get('/', function (Request $request, Response $response) { if (!$ok){ 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'); });