Skip to content

Commit

Permalink
fix cannot add new task from uploading metalink file
Browse files Browse the repository at this point in the history
  • Loading branch information
mayswind committed Apr 10, 2020
1 parent 9a3dff6 commit 8f95c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/services/aria2RpcService.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8f95c2e

Please sign in to comment.