fix(notifications): include icon in slack legacy url (#1303)

This commit is contained in:
Brian Choromanski 2022-08-01 12:40:12 -04:00 committed by GitHub
parent 08831f798c
commit 489356aa42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View file

@ -56,6 +56,11 @@ func (s *slackTypeNotifier) GetURL(c *cobra.Command, title string) (string, erro
SplitLines: true,
Username: s.Username,
}
if s.IconURL != "" {
conf.Avatar = s.IconURL
}
return conf.GetURL().String(), nil
}