Update user id link in org and person subresources
This commit is contained in:
@@ -27,7 +27,8 @@ use Symfony\Component\Validator\Constraints as Assert;
|
||||
uriVariables: [
|
||||
'id' => new API\Link(
|
||||
fromClass: UserApiResource::class,
|
||||
fromProperty: 'organization'
|
||||
fromProperty: 'organization',
|
||||
description: 'User identifier'
|
||||
),
|
||||
]
|
||||
)]
|
||||
|
||||
@@ -26,7 +26,8 @@ use App\State\ApiResourceStateProvider;
|
||||
uriVariables: [
|
||||
'id' => new API\Link(
|
||||
fromClass: UserApiResource::class,
|
||||
fromProperty: 'person'
|
||||
fromProperty: 'person',
|
||||
description: 'User identifier'
|
||||
),
|
||||
]
|
||||
)]
|
||||
|
||||
Reference in New Issue
Block a user