Fix a couple of coffee to js conversion blunders

This commit is contained in:
Zaid Abdulla committed 2018-10-31 09:08:50 -07:00
1 parent 476532af54
commit 91626a3de5
2 files changed
+12 -10

No files matched your search

+1 -1
View File
@@ -831,7 +831,7 @@ function getDueTasks(deviceId, timestamp, callback) {
if (res[0]) {
if (!task.fileType) task.fileType = res[0].metadata.fileType;
if (task.fileName)
if (!task.fileName)
task.fileName = res[0].filename || res[0]._id.toString();
}