GET relations adapted, POST fixed

This commit is contained in:
2021-11-03 12:52:21 +01:00
parent 6d5f94ab45
commit 577ed7b6be
3 changed files with 1 additions and 3 deletions

View File

@@ -903,7 +903,6 @@ class ChillPersonExtension extends Extension implements PrependExtensionInterfac
],
[
'class' => \Chill\PersonBundle\Entity\Relationships\Relation::class,
'controller' => \Chill\PersonBundle\Controller\RelationshipApiController::class,
'name' => 'relations',
'base_path' => '/api/1.0/relations/relation',
'base_role' => 'ROLE_USER',