[FIX] Typo
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user