Fix email template body writer being called with parameters in wrong order.
This commit is contained in:
parent
7988e1112e
commit
03bc356197
|
@ -529,7 +529,7 @@ func (n *notifier) sendEmailNotification(to string, op notificationOp, a *Alert)
|
|||
}
|
||||
defer wc.Close()
|
||||
|
||||
return writeEmailBody(wc, *smtpSender, status, to, a)
|
||||
return writeEmailBody(wc, *smtpSender, to, status, a)
|
||||
}
|
||||
|
||||
func (n *notifier) sendPushoverNotification(token string, op notificationOp, userKey string, a *Alert) error {
|
||||
|
|
Loading…
Reference in New Issue