mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
fix(pockethost): fix mothership welcome message notification error
This commit is contained in:
parent
aa1e2bee6e
commit
ad4a6ff8bf
@ -27,6 +27,5 @@ onModelBeforeUpdate((e) => {
|
||||
newModel.set(`welcome`, new DateTime())
|
||||
} catch (e) {
|
||||
audit(`ERROR`, `${e}`, { log, dao, extra: { user: newModel.getId() } })
|
||||
throw e
|
||||
}
|
||||
}, 'users')
|
||||
|
Loading…
x
Reference in New Issue
Block a user