diff --git a/src/Bundle/ChillPersonBundle/Controller/HouseholdMemberController.php b/src/Bundle/ChillPersonBundle/Controller/HouseholdMemberController.php index 0378e9413..da361abda 100644 --- a/src/Bundle/ChillPersonBundle/Controller/HouseholdMemberController.php +++ b/src/Bundle/ChillPersonBundle/Controller/HouseholdMemberController.php @@ -47,6 +47,7 @@ class HouseholdMemberController extends ApiController } catch (Exception\InvalidArgumentException | Exception\UnexpectedValueException $e) { throw new BadRequestException("Deserialization error: {$e->getMessage()}", 45896, $e); } + // TODO ACL // // TODO validation @@ -58,7 +59,7 @@ class HouseholdMemberController extends ApiController } $em->flush(); - return $this->json($editor->getHousehold(), Response::HTTP_OK, ["groups" => ["read"]]); + return $this->json($editor->getHousehold(), Response::HTTP_OK, [], ["groups" => ["read"]]); } /**