@hubs101/js-api-skd-client 1.0.10649 → 1.0.10650
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
|
@@ -591,7 +591,7 @@ 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
593
|
const body = Object.assign({ event_source: eventSource }, (removeAnswers !== undefined && {
|
|
594
|
-
remove_answers: "1",
|
|
594
|
+
remove_answers: removeAnswers ? "1" : "0",
|
|
595
595
|
}));
|
|
596
596
|
const response = yield (0, api_1.postRequest)(`${base.EVENTS}/${eventId}/import/onboarding-questions`, body, token);
|
|
597
597
|
return response;
|