Skip to content

Commit 4ce75d9

Browse files
API Key typo
Fixes #791
1 parent ea796fb commit 4ce75d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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"

0 commit comments

Comments
 (0)