diff --git a/src/Controller/MainController.php b/src/Controller/MainController.php index f10220b..9a5fa95 100644 --- a/src/Controller/MainController.php +++ b/src/Controller/MainController.php @@ -55,7 +55,8 @@ class MainController extends AbstractController 'Content-Type: application/json', ], ]); - if (200 !== $response->getStatusCode()) { + if (200 !== $response->getStatusCode()) + { $this->session->clear(); throw new BadRequestException('pa de code 200'); }