Skip to content

Commit 17cca89

Browse files
author
Jeremiah VALERIE
committed
Fix http error code
1 parent 886b417 commit 17cca89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Controller/GraphController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ public function endpointAction(Request $request)
2222
$req = $this->get('overblog_graphql.request_parser')->parse($request);
2323
$res = $this->get('overblog_graphql.request_executor')->execute($req, []);
2424

25-
return new JsonResponse($res->toArray(), empty($res->errors) ? 200 : 400);
25+
return new JsonResponse($res->toArray(), 200);
2626
}
2727
}

0 commit comments

Comments
 (0)