Fix download task object validation
This commit is contained in:
1 parent
ab27ebfaef
commit
765f0be7bc
2 files changed
+8
-5
No files matched your search
+1
-1
@@ -670,7 +670,7 @@ async function nextRpc(sessionContext: SessionContext): Promise<void> {
|
||||
break;
|
||||
case "download":
|
||||
session.addProvisions(sessionContext, `task_${task._id}`, [
|
||||
["download", task.fileType, task.fileName, task.targetFileName]
|
||||
["download", task.fileType, task.fileName, task.targetFileName || ""]
|
||||
]);
|
||||
break;
|
||||
case "addObject":
|
||||
|
||||
Reference in new issue
Block a user