Skip to content

Commit 4ce75d9

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

use_cases/aws.md

Lines changed: 1 addition & 1 deletion
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("test@example.com")
123123
to_email = To("test@example.com")
124124
subject = "Sending with Twilio SendGrid is Fun"

0 commit comments

Comments
 (0)