Skip to content

Commit

Permalink
[fix] HTTP Downloader Task parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
TechQuery committed May 28, 2024
1 parent 7a2d5aa commit d633176
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mobx-restful",
"version": "1.0.0-rc.4",
"version": "1.0.0-rc.5",
"license": "LGPL-3.0",
"author": "[email protected]",
"description": "MobX SDK for RESTful API",
Expand Down
4 changes: 2 additions & 2 deletions source/Downloader/HTTP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ export class HTTPDownloadTask extends DownloadTask {
});

constructor(path: string, name?: string) {
super(name, path);
super(path, name);

this.id = `http-download-task-${name}`;
this.id = `http-download-task-${this.name}`;

restore(this, this.id);
}
Expand Down

0 comments on commit d633176

Please sign in to comment.