mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
backend normalizer: add id to relationship endpoint
This commit is contained in:
parent
2cb1ad6afc
commit
f834bb3bd6
@ -22,6 +22,7 @@ class RelationshipNormalizer implements NormalizerInterface, NormalizerAwareInte
|
||||
{
|
||||
return [
|
||||
'type' => 'relationship',
|
||||
'id' => $this->normalizer->normalize($relationship->getId()),
|
||||
'fromPerson' => $this->normalizer->normalize($relationship->getFromPerson()),
|
||||
'toPerson' => $this->normalizer->normalize($relationship->getToPerson()),
|
||||
'relation' => $this->normalizer->normalize($relationship->getRelation()),
|
||||
|
Loading…
x
Reference in New Issue
Block a user