mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-08 15:10:54 +03:00
added return
This commit is contained in:
@@ -23,6 +23,7 @@ class FileReceiver extends EventEmitter {
|
|||||||
|
|
||||||
if (xhr.status === 404) {
|
if (xhr.status === 404) {
|
||||||
reject(new Error('The file has expired, or has already been deleted.'));
|
reject(new Error('The file has expired, or has already been deleted.'));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
let blob = new Blob([this.response]);
|
let blob = new Blob([this.response]);
|
||||||
|
|||||||
Reference in New Issue
Block a user