@hubs101/js-api-skd-client 1.0.10597 → 1.0.10598
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 +2 -2
- package/package.json +1 -1
package/lib/api/event/index.js
CHANGED
|
@@ -777,7 +777,7 @@ const _updateTestimonial = (basePath, token, eventId, testimonialId, data, files
|
|
|
777
777
|
exports._updateTestimonial = _updateTestimonial;
|
|
778
778
|
const _createStatistic = (basePath, token, eventId, data) => __awaiter(void 0, void 0, void 0, function* () {
|
|
779
779
|
const base = (0, base_1.getBasePath)(basePath);
|
|
780
|
-
const response = yield (0, api_1.postRequestWE)(`${base.EVENTS}/${eventId}/statistics`, data, token);
|
|
780
|
+
const response = yield (0, api_1.postRequestWE)(`${base.EVENTS}/${eventId}/statistics`, data, token, "put");
|
|
781
781
|
return response === null || response === void 0 ? void 0 : response.data;
|
|
782
782
|
});
|
|
783
783
|
exports._createStatistic = _createStatistic;
|
|
@@ -789,7 +789,7 @@ const _updateStatistic = (basePath, token, eventId, statisticId, data) => __awai
|
|
|
789
789
|
exports._updateStatistic = _updateStatistic;
|
|
790
790
|
const _createKeyTopic = (basePath, token, eventId, data, files) => __awaiter(void 0, void 0, void 0, function* () {
|
|
791
791
|
const base = (0, base_1.getBasePath)(basePath);
|
|
792
|
-
const response = yield (0, api_1.postFilesAndDataRequest)(`${base.EVENTS}/${eventId}/keytopics`, data, files !== null && files !== void 0 ? files : [], token);
|
|
792
|
+
const response = yield (0, api_1.postFilesAndDataRequest)(`${base.EVENTS}/${eventId}/keytopics`, data, files !== null && files !== void 0 ? files : [], token, "put");
|
|
793
793
|
return response === null || response === void 0 ? void 0 : response.data;
|
|
794
794
|
});
|
|
795
795
|
exports._createKeyTopic = _createKeyTopic;
|