From f8e91c325db186e1b4e8d696f0d43b5a6eedbc97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Tue, 11 May 2021 21:20:30 +0200 Subject: [PATCH] oups, forget a flush :) --- src/Bundle/ChillMainBundle/CRUD/Controller/ApiController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Bundle/ChillMainBundle/CRUD/Controller/ApiController.php b/src/Bundle/ChillMainBundle/CRUD/Controller/ApiController.php index 1c1341aa9..eb84684a9 100644 --- a/src/Bundle/ChillMainBundle/CRUD/Controller/ApiController.php +++ b/src/Bundle/ChillMainBundle/CRUD/Controller/ApiController.php @@ -138,6 +138,8 @@ class ApiController extends AbstractCRUDController return $response; } + $this->getDoctrine()->getManager()->flush(); + return $this->json( $entity, Response::HTTP_OK,