[FIX] Typo

This commit is contained in:
2021-10-03 19:24:10 +01:00
parent 18598fa79c
commit eb01cbe305

View File

@@ -477,7 +477,7 @@ exports.processAnswer = functions.https.onCall((data, context) => {
if (levDistance <= 1 || if (levDistance <= 1 ||
answer.length > 5 && levDistance <= 3 || answer.length > 5 && levDistance <= 3 ||
answer.length > 10 && levDistance <= 4 || answer.length > 10 && levDistance <= 4 ||
cleansedInputAnswer.includes(answers)) { cleansedInputAnswer.includes(answer)) {
docData.typo = true; docData.typo = true;
transaction.set(progressDocId, docData); transaction.set(progressDocId, docData);
typo = true; typo = true;