@hubs101/js-api-skd-client 1.0.10646 → 1.0.10647
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 +4 -4
- package/package.json +1 -1
package/lib/api/event/index.js
CHANGED
|
@@ -590,10 +590,10 @@ const _deleteExhibition = (basePath, token, exhibitionId) => __awaiter(void 0, v
|
|
|
590
590
|
exports._deleteExhibition = _deleteExhibition;
|
|
591
591
|
const _importOnboardingQuestions = (basePath, token, eventId, eventSource, removeAnswers) => __awaiter(void 0, void 0, void 0, function* () {
|
|
592
592
|
const base = (0, base_1.getBasePath)(basePath);
|
|
593
|
-
const
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
}, token);
|
|
593
|
+
const body = Object.assign({ event_source: eventSource }, (removeAnswers !== undefined && {
|
|
594
|
+
remove_answers: removeAnswers,
|
|
595
|
+
}));
|
|
596
|
+
const response = yield (0, api_1.postRequest)(`${base.EVENTS}/${eventId}/import/onboarding-questions`, body, token);
|
|
597
597
|
return response;
|
|
598
598
|
});
|
|
599
599
|
exports._importOnboardingQuestions = _importOnboardingQuestions;
|