This commit is contained in:
@@ -572,6 +572,7 @@
|
|||||||
param = _ref[_i];
|
param = _ref[_i];
|
||||||
if (param.paramType === 'path') {
|
if (param.paramType === 'path') {
|
||||||
if (args[param.name]) {
|
if (args[param.name]) {
|
||||||
|
url = url.replace(/{id.*/, '{id}');
|
||||||
url = url.replace("{" + param.name + "}", encodeURIComponent(args[param.name]));
|
url = url.replace("{" + param.name + "}", encodeURIComponent(args[param.name]));
|
||||||
delete args[param.name];
|
delete args[param.name];
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user