@pisell/pisellos 2.2.126 → 2.2.127
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/dist/server/index.js
CHANGED
|
@@ -517,7 +517,7 @@ var Server = /*#__PURE__*/function () {
|
|
|
517
517
|
data: null
|
|
518
518
|
});
|
|
519
519
|
case 16:
|
|
520
|
-
backendPath = "/shop/order/sales/".concat(encodeURIComponent(orderId), "?with%5B%5D=
|
|
520
|
+
backendPath = "/shop/order/sales/".concat(encodeURIComponent(orderId), "?with%5B%5D=all");
|
|
521
521
|
_context7.prev = 17;
|
|
522
522
|
_context7.next = 20;
|
|
523
523
|
return _this.app.request.get(backendPath, undefined, {
|
|
@@ -252,7 +252,7 @@ export function flattenOrdersToBookings(orders) {
|
|
|
252
252
|
var booking = bookings[j];
|
|
253
253
|
result.push(_objectSpread(_objectSpread({}, booking), {}, {
|
|
254
254
|
order: orderInfo,
|
|
255
|
-
products:
|
|
255
|
+
products: order.products
|
|
256
256
|
}));
|
|
257
257
|
}
|
|
258
258
|
}
|
package/lib/server/index.js
CHANGED
|
@@ -347,7 +347,7 @@ var Server = class {
|
|
|
347
347
|
}
|
|
348
348
|
const backendPath = `/shop/order/sales/${encodeURIComponent(
|
|
349
349
|
orderId
|
|
350
|
-
)}?with%5B%5D=
|
|
350
|
+
)}?with%5B%5D=all`;
|
|
351
351
|
try {
|
|
352
352
|
const response = await this.app.request.get(backendPath, void 0, {
|
|
353
353
|
isShopApi: true
|