Skip to content

Commit

Permalink
Fixed #1
Browse files Browse the repository at this point in the history
  • Loading branch information
landy8697 committed May 20, 2024
1 parent 3d42ea0 commit 2b77903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fermi.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function applyCorrections(curData, source){
curData["originalAnswer"] = curData["answer"];
curData["originalQuestion"] = curData["question"];
curData["id"] = curID;
curData["hasAnswerCorrection"] = (corrections[source]["answer"] != "");
curData["hasAnswerCorrection"] = (source in corrections) ? (corrections[source]["answer"] != "") : false;
//Check and apply correction if it exists
if(source in corrections){
console.log("CORRECTION FOUND");
Expand Down

0 comments on commit 2b77903

Please sign in to comment.