Skip to content

Commit

Permalink
removing key and disabled key on sendgrid
Browse files Browse the repository at this point in the history
  • Loading branch information
riquellopes committed Feb 2, 2019
1 parent 8dc3c79 commit 6e7a678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion duck/uncle.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (u *Uncle) Quack() {
htmlContent := fmt.Sprintf("<strong>%s</strong>", goalAlert)

message := mail.NewSingleEmail(from, "Tio Patinhas - Quack Quack", to, goalAlert, htmlContent)
client := sendgrid.NewSendClient("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")
client := sendgrid.NewSendClient(os.Getenv("SENDGRID_KEY"))
_, err := client.Send(message)

fmt.Println(err)
Expand Down

0 comments on commit 6e7a678

Please sign in to comment.