Update user id link in org and person subresources

This commit is contained in:
2025-02-25 15:09:10 +01:00
parent 475ae469ad
commit d3f80bc4be
2 changed files with 4 additions and 2 deletions
@@ -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'
),
]
)]
+2 -1
View File
@@ -26,7 +26,8 @@ use App\State\ApiResourceStateProvider;
uriVariables: [
'id' => new API\Link(
fromClass: UserApiResource::class,
fromProperty: 'person'
fromProperty: 'person',
description: 'User identifier'
),
]
)]