Skip to content

Commit 10ef284

Browse files
committed
fix mapping
1 parent 592aecd commit 10ef284

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/ApiPlatform/Resources/Manufacturer/ManufacturerDetail.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ class ManufacturerDetail
6767
public array $addresses = [];
6868

6969
public const QUERY_MAPPING = [
70-
'manufacturerProducts' => 'products',
71-
'manufacturerAddresses' => 'addresses',
70+
'[name]' => '[name]',
71+
'[manufacturerProducts]' => '[products]',
72+
'[manufacturerAddresses]' => '[addresses]',
7273
];
7374
}

0 commit comments

Comments
 (0)