added notifications
This commit is contained in:
parent
37f74cacfa
commit
c9da5b8078
4 changed files with 23 additions and 3 deletions
|
@ -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.');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue