Commit b63e122a authored by Mat's avatar Mat

oups

parent 23a68193
...@@ -85,7 +85,7 @@ class MembreAPIController extends MasterAPIController ...@@ -85,7 +85,7 @@ class MembreAPIController extends MasterAPIController
$form->handleRequest($request); $form->handleRequest($request);
if ($form->isSubmitted() && $form->isValid()) { if ($form->isSubmitted() && $form->isValid()) {
$em->flush() $em->flush();
return $this->api($membre); return $this->api($membre);
} }
return $this->api($form, Response::HTTP_BAD_REQUEST); return $this->api($form, Response::HTTP_BAD_REQUEST);
......
Markdown is supported
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