minor
This commit is contained in:
parent
7111b4578b
commit
29b062ee03
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ async function loop () {
|
||||||
try {
|
try {
|
||||||
await sendNotification(notification, event, e)
|
await sendNotification(notification, event, e)
|
||||||
e.status = 'sent'
|
e.status = 'sent'
|
||||||
e.save()
|
return e.save()
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e)
|
console.error(e)
|
||||||
e.status = 'error'
|
e.status = 'error'
|
||||||
|
|
Loading…
Reference in a new issue