mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
GET relations adapted, POST fixed
This commit is contained in:
@@ -28,7 +28,6 @@ class RelationshipApiController extends ApiController
|
||||
{
|
||||
//TODO: add permissions? (voter?)
|
||||
$relationships = $this->repository->findByPerson($person);
|
||||
//dump($relationships[0]->getRelation());
|
||||
|
||||
return $this->json(\array_values($relationships), Response::HTTP_OK, [], ['groups' => [ 'read']]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user