tradly 1.1.47 → 1.1.48
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 +8 -2
- package/package.json +1 -1
package/Roots/App.js
CHANGED
|
@@ -2374,10 +2374,16 @@ class App {
|
|
|
2374
2374
|
}
|
|
2375
2375
|
|
|
2376
2376
|
//
|
|
2377
|
-
async getSendCloudShipmentsMethods(
|
|
2377
|
+
async getSendCloudShipmentsMethods(
|
|
2378
|
+
param = { authKey, type, bodyParam }
|
|
2379
|
+
) {
|
|
2380
|
+
let url =
|
|
2381
|
+
param.bodyParam == undefined || param.bodyParam == ""
|
|
2382
|
+
? ""
|
|
2383
|
+
: `?${serialization(param.bodyParam)}`;
|
|
2378
2384
|
try {
|
|
2379
2385
|
const [error, responseJson] = await network.networkCall({
|
|
2380
|
-
path: `${SHIPMENTS}/sendcloud/shipping_methods`,
|
|
2386
|
+
path: `${SHIPMENTS}/sendcloud/shipping_methods${url}`,
|
|
2381
2387
|
method: Method.GET,
|
|
2382
2388
|
authKey: param.authKey,
|
|
2383
2389
|
currency: param.currency,
|