Skip to content

Commit 5a60281

Browse files
Merge pull request #797 from sendgrid/thinkingserious-patch-3
API Key typo
2 parents ea796fb + 98f187a commit 5a60281

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

use_cases/aws.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ import os
118118
from sendgrid.helpers.mail import (From, To, PlainTextContent, HtmlContent, Mail)
119119

120120
def handler(event, context):
121-
sendgrid_client = sendgrid.SendGridAPIClient(api_key=os.environ.get('SENDGRID_API_KEY'))
121+
sendgrid_client = sendgrid.SendGridAPIClient(os.environ.get('SENDGRID_API_KEY'))
122122
from_email = From("[email protected]")
123123
to_email = To("[email protected]")
124124
subject = "Sending with Twilio SendGrid is Fun"

use_cases/error_handling.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ There are also email specific exceptions located [here](https://github.com/sendg
1111
from sendgrid.helpers.mail import (From, To, Subject, PlainTextContent, HtmlContent, Mail)
1212
from python_http_client import exceptions
1313

14-
sendgrid_client = SendGridAPIClient(api_key=os.environ.get('SENDGRID_API_KEY'))
14+
sendgrid_client = SendGridAPIClient(os.environ.get('SENDGRID_API_KEY'))
1515
from_email = From("[email protected]")
1616
to_email = To("[email protected]")
1717
subject = Subject("Sending with Twilio SendGrid is Fun")

0 commit comments

Comments
 (0)