Code order for aesthetics
This commit is contained in:
@@ -555,12 +555,12 @@ exports.processAnswer = functions.https.onCall((data, context) => {
|
|||||||
currentVocabId: currentVocab,
|
currentVocabId: currentVocab,
|
||||||
moreAnswers: false,
|
moreAnswers: false,
|
||||||
nextPrompt: null,
|
nextPrompt: null,
|
||||||
|
numberOfAnswers: progressDoc.data().showNumberOfAnswers === true ? 0 : null,
|
||||||
progress: docData.progress,
|
progress: docData.progress,
|
||||||
totalQuestions: docData.questions.length,
|
totalQuestions: docData.questions.length,
|
||||||
totalCorrect: docData.correct.length,
|
totalCorrect: docData.correct.length,
|
||||||
totalIncorrect: docData.incorrect.length,
|
totalIncorrect: docData.incorrect.length,
|
||||||
typo: false,
|
typo: false,
|
||||||
numberOfAnswers: progressDoc.data().showNumberOfAnswers === true ? 0 : null,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
docData.typo = false;
|
docData.typo = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user