summaryrefslogtreecommitdiffstats
path: root/pyload/web/app/scripts/models/Package.js
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/web/app/scripts/models/Package.js')
-rw-r--r--pyload/web/app/scripts/models/Package.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/web/app/scripts/models/Package.js b/pyload/web/app/scripts/models/Package.js
index a1828ed67..463ec8c13 100644
--- a/pyload/web/app/scripts/models/Package.js
+++ b/pyload/web/app/scripts/models/Package.js
@@ -100,7 +100,7 @@ define(['jquery', 'backbone', 'underscore', 'app', 'utils/apitypes', 'collection
destroy: function(options) {
// TODO: Not working when using data?, array seems to break it
options = App.apiRequest(
- 'deletePackages/[' + this.get('pid') + ']',
+ 'removePackages/[' + this.get('pid') + ']',
null, options);
options.method = 'post';