Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Dec 4, 2024
1 parent 60dc6a7 commit 0f759e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/mailer/sender/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func (m *Message) ToMessage() *gomail.Msg {
msg := gomail.NewMsg()
addr := mail.Address{Name: m.FromDisplayName, Address: m.FromAddress}
_ = msg.SetAddrHeader("From", addr.String())
msg.SetAddrHeader("To", m.To)
_ = msg.SetAddrHeader("To", m.To)
if m.ReplyTo != "" {
msg.SetGenHeader("Reply-To", m.ReplyTo)
}
Expand Down

0 comments on commit 0f759e0

Please sign in to comment.