test php-cs-fixer jenkins
Cadoles/hydra-sql/pipeline/pr-develop There was a failure building this commit Details
Cadoles/hydra-sql/pipeline/head This commit is unstable Details

This commit is contained in:
Rudy Masson 2022-05-19 11:13:29 +02:00
parent b451566452
commit 589c354579
1 changed files with 2 additions and 1 deletions

View File

@ -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');
}