oups, forget a flush :)

This commit is contained in:
Julien Fastré 2021-05-11 21:20:30 +02:00
parent a448405ce5
commit f8e91c325d

View File

@ -138,6 +138,8 @@ class ApiController extends AbstractCRUDController
return $response;
}
$this->getDoctrine()->getManager()->flush();
return $this->json(
$entity,
Response::HTTP_OK,