Code order for aesthetics

This commit is contained in:
2022-01-31 08:39:41 +00:00
parent e49bc610df
commit 9c11bd2658

View File

@@ -555,12 +555,12 @@ exports.processAnswer = functions.https.onCall((data, context) => {
currentVocabId: currentVocab,
moreAnswers: false,
nextPrompt: null,
numberOfAnswers: progressDoc.data().showNumberOfAnswers === true ? 0 : null,
progress: docData.progress,
totalQuestions: docData.questions.length,
totalCorrect: docData.correct.length,
totalIncorrect: docData.incorrect.length,
typo: false,
numberOfAnswers: progressDoc.data().showNumberOfAnswers === true ? 0 : null,
}
docData.typo = false;