tradly 1.1.23 → 1.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Roots/App.js +6 -2
- package/package.json +1 -1
package/Roots/App.js
CHANGED
|
@@ -1683,10 +1683,14 @@ class App {
|
|
|
1683
1683
|
return error;
|
|
1684
1684
|
}
|
|
1685
1685
|
}
|
|
1686
|
-
async deleteAllCartDetail(param = { authKey }) {
|
|
1686
|
+
async deleteAllCartDetail(param = { authKey, bodyParam }) {
|
|
1687
|
+
let url =
|
|
1688
|
+
param.bodyParam == undefined || param.bodyParam == ""
|
|
1689
|
+
? ""
|
|
1690
|
+
: `?${serialization(param.bodyParam)}`;
|
|
1687
1691
|
try {
|
|
1688
1692
|
const [error, responseJson] = await network.networkCall({
|
|
1689
|
-
path: CART,
|
|
1693
|
+
path: CART + url,
|
|
1690
1694
|
method: Method.DELETE,
|
|
1691
1695
|
authKey: param.authKey,
|
|
1692
1696
|
currency: param.currency,
|