rest-client-sdk
Advanced tools
Comparing version 6.7.0 to 6.7.1
{ | ||
"name": "rest-client-sdk", | ||
"version": "6.7.0", | ||
"version": "6.7.1", | ||
"description": "Rest Client SDK for API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -323,3 +323,4 @@ import URI from 'urijs'; | ||
const segments = url.segment(); | ||
if (`/${segments[0]}` !== this.sdk.mapping.idPrefix) { | ||
if (!url.pathname().startsWith(this.sdk.mapping.idPrefix)) { | ||
segments.unshift(this.sdk.mapping.idPrefix); | ||
@@ -326,0 +327,0 @@ url.segment(segments); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
576834