Skip to content

Commit

Permalink
naming
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaGeese committed Aug 26, 2024
1 parent 48302da commit a4eb666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mofacts/server/methods.js
Original file line number Diff line number Diff line change
Expand Up @@ -1473,7 +1473,7 @@ function addUserDueDateException(userId, tdfId, classId, date){
async function checkForTDFData(tdfId){
const userId = Meteor.userId();
serverConsole('checkForTDFData', tdfId, userId);
tdf = history.findOne({TDFId: tdfId, userId: userId, $and: [ {levelUnitType: {$ne: "schedule"}}, {levelUnitType: {$ne: "Instruction"}} ] });
tdf = Histories.findOne({TDFId: tdfId, userId: userId, $and: [ {levelUnitType: {$ne: "schedule"}}, {levelUnitType: {$ne: "Instruction"}} ] });
if(tdf){
return true;
}
Expand Down

0 comments on commit a4eb666

Please sign in to comment.