@hubs101/js-api-skd-client 1.0.10669 → 1.0.10671
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/lib/api/event/index.js
CHANGED
|
@@ -591,9 +591,9 @@ const _updateExhibition = (basePath, token, exhibitionId, files, data) => __awai
|
|
|
591
591
|
exports._updateExhibition = _updateExhibition;
|
|
592
592
|
const _bulkExhibitionsOrder = (basePath, token, exhibitions) => __awaiter(void 0, void 0, void 0, function* () {
|
|
593
593
|
const base = (0, base_1.getBasePath)(basePath);
|
|
594
|
-
const response = yield (0, api_1.
|
|
594
|
+
const response = yield (0, api_1.postRequestJSON)(`${base.EXHIBITIONS}/bulk-order`, {
|
|
595
595
|
exhibitions,
|
|
596
|
-
}, token);
|
|
596
|
+
}, token, { "Content-Type": "application/json" });
|
|
597
597
|
return (response === null || response === void 0 ? void 0 : response.data) || response;
|
|
598
598
|
});
|
|
599
599
|
exports._bulkExhibitionsOrder = _bulkExhibitionsOrder;
|
package/lib/api/event/types.d.ts
CHANGED