We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2de5261 commit 56b90edCopy full SHA for 56b90ed
src/Error/Exception/JsonApiException.php
@@ -9,7 +9,7 @@ class JSonApiException extends BadRequestException
9
{
10
protected $requestErrors;
11
12
- public function __construct(EntityInterface $entity, $message = null, $code = 422)
+ public function __construct(EntityInterface $entity, $message = null, $code = 400)
13
14
$this->requestErrors = $entity->getErrors();
15
0 commit comments