@itentialopensource/adapter-utils
Advanced tools
Comparing version 4.30.9 to 4.30.10
## 4.30.10 [03-05-2020] | ||
* add fix for sending empty and also for :var | ||
Closes ADAPT-126 | ||
See merge request itentialopensource/adapter-utils!165 | ||
--- | ||
## 4.30.9 [02-20-2020] | ||
@@ -3,0 +13,0 @@ |
@@ -523,3 +523,3 @@ /* @copyright Itential, LLC 2018 */ | ||
// slash at end) | ||
if (uriPath[hindex - 2] === '/') { | ||
if (uriPath[hindex - 2] === '/' || uriPath[hindex - 2] === ':') { | ||
// ends with a slash need to add slash to end | ||
@@ -545,3 +545,3 @@ idString = encodeURIComponent(uriPathVars[p]); | ||
// if there is a / before the {pathv} need to remove it | ||
if (uriPath[sIndex - 1] === '/') { | ||
if (uriPath[sIndex - 1] === '/' || uriPath[sIndex - 1] === ':') { | ||
sIndex -= 1; | ||
@@ -548,0 +548,0 @@ } |
{ | ||
"name": "@itentialopensource/adapter-utils", | ||
"version": "4.30.9", | ||
"version": "4.30.10", | ||
"description": "Itential Adapter Utility Libraries", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1618908
14082