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