Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit f3009fb

Browse files
authored
fix: use correct index when importing SPs (#162)
do not subtract 1 when keeping indexes
1 parent e2778a9 commit f3009fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/transformers/EndpointIndexMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function transform(array $attributes)
6565
$result[$binding] = [];
6666
}
6767

68-
$result[$binding][$endpoint['index'] - 1] = $endpoint['Location'];
68+
$result[$binding][$endpoint['index']] = $endpoint['Location'];
6969
}
7070
if ($keepIndexes) {
7171
$result = array_map(function ($endpoints) {

0 commit comments

Comments
 (0)