mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-21 17:01:04 +01:00
fix(alerts): use dash instead of user name of it is cron task
This commit is contained in:
parent
41a95f16f1
commit
cbccad0de0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user