@commercetools/api-request-builder
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -1098,3 +1098,4 @@ 'use strict'; | ||
function getIdOrKey(params) { | ||
if (params.id) return '/' + params.id;else if (params.key) return '/key=' + params.key; | ||
if (params.id) return '/' + params.id; | ||
if (params.key) return '/key=' + params.key; | ||
return ''; | ||
@@ -1101,0 +1102,0 @@ } |
@@ -1094,3 +1094,4 @@ /** | ||
function getIdOrKey(params) { | ||
if (params.id) return '/' + params.id;else if (params.key) return '/key=' + params.key; | ||
if (params.id) return '/' + params.id; | ||
if (params.key) return '/key=' + params.key; | ||
return ''; | ||
@@ -1097,0 +1098,0 @@ } |
@@ -1100,3 +1100,4 @@ (function (global, factory) { | ||
function getIdOrKey(params) { | ||
if (params.id) return '/' + params.id;else if (params.key) return '/key=' + params.key; | ||
if (params.id) return '/' + params.id; | ||
if (params.key) return '/key=' + params.key; | ||
return ''; | ||
@@ -1103,0 +1104,0 @@ } |
@@ -7,3 +7,3 @@ { | ||
"name": "@commercetools/api-request-builder", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "Helper functions to construct API requests URI for the commercetools platform in a declarative way.", | ||
@@ -10,0 +10,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3224
134939