Skip to content
Snippets Groups Projects

fix: use correct index when importing SPs

Merged Pavel Břoušek requested to merge hotfix-for-keep-indexes into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -65,7 +65,7 @@ class EndpointIndexMap extends AttributeTransformer
$result[$binding] = [];
}
$result[$binding][$endpoint['index'] - 1] = $endpoint['Location'];
$result[$binding][$endpoint['index']] = $endpoint['Location'];
}
if ($keepIndexes) {
$result = array_map(function ($endpoints) {
Loading