Skip to content

Commit

Permalink
fix(deps): update module github.com/mailgun/mailgun-go/v4 to v4.18.0 (#…
Browse files Browse the repository at this point in the history
…881)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Niko Köser <[email protected]>
  • Loading branch information
renovate[bot] and nikoksr authored Nov 2, 2024
1 parent e6c6daa commit cf3a7c5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ require (
github.com/dghubble/oauth1 v0.7.3
github.com/go-telegram-bot-api/telegram-bot-api v4.6.4+incompatible
github.com/line/line-bot-sdk-go v7.8.0+incompatible
github.com/mailgun/mailgun-go/v4 v4.17.3
github.com/mailgun/mailgun-go/v4 v4.18.0
github.com/plivo/plivo-go/v7 v7.54.0
github.com/sendgrid/sendgrid-go v3.16.0+incompatible
github.com/silenceper/wechat/v2 v2.1.7
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ github.com/line/line-bot-sdk-go v7.8.0+incompatible h1:Uf9/OxV0zCVfqyvwZPH8CrdiH
github.com/line/line-bot-sdk-go v7.8.0+incompatible/go.mod h1:0RjLjJEAU/3GIcHkC3av6O4jInAbt25nnZVmOFUgDBg=
github.com/mailgun/errors v0.4.0 h1:6LFBvod6VIW83CMIOT9sYNp28TCX0NejFPP4dSX++i8=
github.com/mailgun/errors v0.4.0/go.mod h1:xGBaaKdEdQT0/FhwvoXv4oBaqqmVZz9P1XEnvD/onc0=
github.com/mailgun/mailgun-go/v4 v4.17.3 h1:WoO48/VeXgAVSzjgzyeLvF08AoPzWU2EBz79INN8rEA=
github.com/mailgun/mailgun-go/v4 v4.17.3/go.mod h1:0ood70bQR/SffQ9NxIsAY06H+HG0hrvMVApfUp9TihI=
github.com/mailgun/mailgun-go/v4 v4.18.0 h1:KvCG0E21gJHM9gRhs/wu+/FED7wURxFU8WXvi/YMbhY=
github.com/mailgun/mailgun-go/v4 v4.18.0/go.mod h1:0ood70bQR/SffQ9NxIsAY06H+HG0hrvMVApfUp9TihI=
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
Expand Down
2 changes: 1 addition & 1 deletion service/mailgun/mailgun.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func (m *Mailgun) AddReceivers(addresses ...string) {
// Send takes a message subject and a message body and sends them to all previously set chats. Message body supports
// html as markup language.
func (m Mailgun) Send(ctx context.Context, subject, message string) error {
mailMessage := m.client.NewMessage(m.senderAddress, subject, message, m.receiverAddresses...)
mailMessage := mailgun.NewMessage(m.senderAddress, subject, message, m.receiverAddresses...)

_, _, err := m.client.Send(ctx, mailMessage)
if err != nil {
Expand Down

0 comments on commit cf3a7c5

Please sign in to comment.