Skip to content

Commit 08b6d2a

Browse files
committed
Fixed mapping of API names for filtered properties
1 parent 0a96c93 commit 08b6d2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Client.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,9 @@ public function apiToFriendly($item, $map)
262262
$filter = ":$filter";
263263
}
264264

265+
$apiName = $apiName.$filter;
265266
if (isset($map[$apiName])) {
266-
$newItem[$map[$apiName].$filter] = $value;
267+
$newItem[$map[$apiName]] = $value;
267268
continue;
268269
}
269270

0 commit comments

Comments
 (0)