mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
fix use of context into householdMember::move
This commit is contained in:
@@ -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"]]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user