This commit is contained in:
lesion 2019-03-18 01:47:47 +01:00
parent 7111b4578b
commit 29b062ee03

View file

@ -53,7 +53,7 @@ async function loop () {
try {
await sendNotification(notification, event, e)
e.status = 'sent'
e.save()
return e.save()
} catch (e) {
console.error(e)
e.status = 'error'