@hubs101/js-api-skd-client 1.0.10592 → 1.0.10593
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
|
@@ -765,7 +765,7 @@ const _updateEventWebsite = (basePath, token, eventId, keyData, data, files) =>
|
|
|
765
765
|
exports._updateEventWebsite = _updateEventWebsite;
|
|
766
766
|
const _createTestimonial = (basePath, token, eventId, data, files) => __awaiter(void 0, void 0, void 0, function* () {
|
|
767
767
|
const base = (0, base_1.getBasePath)(basePath);
|
|
768
|
-
const response = yield (0, api_1.postFilesAndDataRequest)(`${base.EVENTS}/${eventId}/testimonials`, data, files !== null && files !== void 0 ? files : [], token);
|
|
768
|
+
const response = yield (0, api_1.postFilesAndDataRequest)(`${base.EVENTS}/${eventId}/testimonials`, data, files !== null && files !== void 0 ? files : [], token, "put");
|
|
769
769
|
return response === null || response === void 0 ? void 0 : response.data;
|
|
770
770
|
});
|
|
771
771
|
exports._createTestimonial = _createTestimonial;
|