diff --git a/README.md b/README.md index 1076762..b3cd3c4 100644 --- a/README.md +++ b/README.md @@ -13,12 +13,10 @@ import ( ) var sender mail.Sender -var hcomposer hermes.Hermes func init() { - serverToken := envy.Get("Sendgrid_SERVER_TOKEN", "") - accountToken := envy.Get("Sendgrid_ACCOUNT_TOKEN", "") - sender = ssender.NewSendgridSender(serverToken, accountToken, false) + APIKey := envy.Get("SENDGRID_API_KEY", "") + sender = ssender.NewSendgridSender(APIKey) } ```