Merge pull request #1293 from dandanx/fix/email-alert

fix: email alert
This commit is contained in:
Denis Gukov 2023-06-27 18:48:53 +02:00 committed by GitHub
commit ff55a7813c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ func (t *TaskRunner) sendMailAlert() {
userObj, err := t.pool.store.GetUser(user) userObj, err := t.pool.store.GetUser(user)
if !userObj.Alert { if !userObj.Alert {
return continue
} }
t.panicOnError(err, "Can't find user Email!") t.panicOnError(err, "Can't find user Email!")