@nger/fk-upload 1.0.122 → 1.0.123
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -58,7 +58,7 @@ class UploadTask extends rabbitmq_1.Task {
|
|
58
58
|
// create effect task
|
59
59
|
console.log(`upload success`, res.filename);
|
60
60
|
await db.manager.update(entities_1.FkDownloadTaskEntity, task.filename, { status: 2, uploadUrl: task.uploadUrl, uploadSize: task.total, uploadStatus: 1 });
|
61
|
-
const effectTask = await taskService.createEffectTask(
|
61
|
+
const effectTask = await taskService.createEffectTask(task.filename, task.uploadUrl, task.topicId, task.path);
|
62
62
|
await manager.send(effectTask);
|
63
63
|
await complete();
|
64
64
|
}).catch(async (e) => {
|