Skip to content

Commit

Permalink
Merge pull request #1906 from semaphoreui/1870-author-details-missing…
Browse files Browse the repository at this point in the history
…-in-slack-alert

fix(alerts): use dash instead of user name of it is cron task
  • Loading branch information
fiftin committed Apr 2, 2024
2 parents d712159 + cbccad0 commit f758e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/tasks/alert.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f758e75

Please sign in to comment.