@hubs101/js-api-skd-client 1.0.10284 → 1.0.10285
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 +1 -1
- package/package.json +1 -1
package/lib/api/event/index.js
CHANGED
|
@@ -294,7 +294,7 @@ const _fetchEventGroups = (basePath, token, eventId) => __awaiter(void 0, void 0
|
|
|
294
294
|
exports._fetchEventGroups = _fetchEventGroups;
|
|
295
295
|
const _checkBooking = (basePath, body, lang) => __awaiter(void 0, void 0, void 0, function* () {
|
|
296
296
|
const base = (0, base_1.getBasePath)(basePath);
|
|
297
|
-
const response = yield (0, api_1.postRequestSimple)(`${base.PUBLIC_BOOKINGS}/check?lang=${lang}`, body, { headers: { "Content-Type": "application/json" } });
|
|
297
|
+
const response = yield (0, api_1.postRequestSimple)(`${base.PUBLIC_BOOKINGS}/check?lang=${lang}`, body, JSON.stringify({ headers: { "Content-Type": "application/json" } }));
|
|
298
298
|
return response;
|
|
299
299
|
});
|
|
300
300
|
exports._checkBooking = _checkBooking;
|