Commit 4b50b5aa authored by Mat's avatar Mat
Browse files

BUG, l'ajout d'une nouvelle offre est cassée

parent 2939da3e
......@@ -57,7 +57,7 @@ class OffreAPIController extends MasterAPIController
$em = $this->getDoctrine()->getManager();
$em->flush(); // TODO bug -> Notice: Array to string conversion
return $this->api($offre);
return $this->api($form , Response::HTTP_BAD_REQUEST);
File mode changed from 100644 to 100755
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment