Move title generation to notification class

This commit is contained in:
Domenic Horner
2021-09-04 11:06:06 +08:00
parent 9c32adfb55
commit 6ae279c7f3
3 changed files with 15 additions and 12 deletions

View File

@@ -552,7 +552,7 @@ let indexHTML = fs.readFileSync("./dist/index.html").toString();
try {
checkLogin(socket)
let msg = await Notification.send(notification, notification.name + " Testing")
let msg = await Notification.send(notification)
callback({
ok: true,