diff --git a/questionnaire.js b/questionnaire.js index e4416b8..8701595 100644 --- a/questionnaire.js +++ b/questionnaire.js @@ -979,9 +979,7 @@ export async function submitQuestionnaire(store, questName) { formData[`${questName}.COMPLETED`] = true; formData[`${questName}.COMPLETED_TS`] = new Date(); try { - store(formData).then(() => { - location.reload(); - }); + store(formData); } catch (e) { console.log("Store failed", e); }