diff --git a/.eslintrc.js b/.eslintrc.js index aa09437..ed5c981 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -16,6 +16,6 @@ module.exports = { eqeqeq: ['warn', 'smart'], 'no-unused-vars': 'warn', 'no-prototype-builtins': 'off', - 'id-length': ['warn', { exceptions: ['i', 'j', 't', 'Q', 'A', 'C'] }], + 'id-length': ['warn', { exceptions: ['i', 'j', 't', 'Q', 'A', 'C', 'q'] }], }, } diff --git a/src/utils/classes.js b/src/utils/classes.js index f3309e5..4fb01c7 100755 --- a/src/utils/classes.js +++ b/src/utils/classes.js @@ -292,7 +292,7 @@ function searchQuestion(subj, question, questionData, subjName) { ) if (percent.avg > minMatchAmmount) { result.push({ - question: currentQuestion, + q: currentQuestion, match: percent.avg, detailedMatch: percent, })