- Suppression d'un dump
This commit is contained in:
@ -26,10 +26,10 @@ class APISearchController extends AbstractController
|
||||
public function index(): Response
|
||||
{
|
||||
$datas = $this->search();
|
||||
|
||||
return $this->render('apiSearch/index.html.twig', [
|
||||
'controller_name' => 'APISearchController',
|
||||
'datas' => $datas,
|
||||
]);
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ class GoogleBooksService
|
||||
|
||||
// Convertir la réponse JSON en tableau PHP
|
||||
$dataArray = $response->toArray();
|
||||
dump($dataArray);
|
||||
|
||||
return $dataArray;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user