mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-11 04:33:00 +00:00
added notifications
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
const EventEmitter = require('events');
|
||||
const { ivToStr } = require('./utils');
|
||||
const { ivToStr, notify } = require('./utils');
|
||||
|
||||
class FileSender extends EventEmitter {
|
||||
constructor(file) {
|
||||
@@ -23,7 +23,7 @@ class FileSender extends EventEmitter {
|
||||
}
|
||||
|
||||
if (xhr.status === 200) {
|
||||
console.log('The file was successfully deleted.');
|
||||
console.log('The file was successfully deleted.')
|
||||
} else {
|
||||
console.log('The file has expired, or has already been deleted.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user