diff --git a/src/Entity/Parts/StorageLocation.php b/src/Entity/Parts/StorageLocation.php index 6c455ae5b..7ba400d9d 100644 --- a/src/Entity/Parts/StorageLocation.php +++ b/src/Entity/Parts/StorageLocation.php @@ -80,7 +80,7 @@ ) ], uriVariables: [ - 'id' => new Link(fromProperty: 'children', fromClass: Manufacturer::class) + 'id' => new Link(fromProperty: 'children', fromClass: StorageLocation::class) ], normalizationContext: ['groups' => ['location:read', 'api:basic:read'], 'openapi_definition_name' => 'Read'] )]