fix cannot add new task from uploading metalink file

This commit is contained in:
MaysWind 2020-04-11 00:23:16 +08:00
parent 9a3dff6105
commit 8f95c2e910

View file

@ -325,7 +325,7 @@
var content = context.task.content;
var options = buildRequestOptions(context.task.options, context);
return invoke(buildRequestContext('addMetalink', context, content, [], options), !!returnContextOnly);
return invoke(buildRequestContext('addMetalink', context, content, options), !!returnContextOnly);
},
remove: function (context, returnContextOnly) {
return invoke(buildRequestContext('remove', context, context.gid), !!returnContextOnly);