fix(alerts): use dash instead of user name of it is cron task

This commit is contained in:
fiftin 2024-04-03 00:28:36 +02:00
parent 41a95f16f1
commit cbccad0de0
No known key found for this signature in database
GPG Key ID: 044381366A5D4731

View File

@ -370,7 +370,7 @@ func (t *TaskRunner) alertInfos() (string, string) {
version = ""
}
author := ""
author := ""
if t.Task.UserID != nil {
user, err := t.pool.store.GetUser(*t.Task.UserID)