Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Key typo #797

Merged
merged 2 commits into from
Apr 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion use_cases/aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ import os
from sendgrid.helpers.mail import (From, To, PlainTextContent, HtmlContent, Mail)

def handler(event, context):
sendgrid_client = sendgrid.SendGridAPIClient(api_key=os.environ.get('SENDGRID_API_KEY'))
sendgrid_client = sendgrid.SendGridAPIClient(os.environ.get('SENDGRID_API_KEY'))
from_email = From("[email protected]")
to_email = To("[email protected]")
subject = "Sending with Twilio SendGrid is Fun"
Expand Down
2 changes: 1 addition & 1 deletion use_cases/error_handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ There are also email specific exceptions located [here](https://github.com/sendg
from sendgrid.helpers.mail import (From, To, Subject, PlainTextContent, HtmlContent, Mail)
from python_http_client import exceptions

sendgrid_client = SendGridAPIClient(api_key=os.environ.get('SENDGRID_API_KEY'))
sendgrid_client = SendGridAPIClient(os.environ.get('SENDGRID_API_KEY'))
from_email = From("[email protected]")
to_email = To("[email protected]")
subject = Subject("Sending with Twilio SendGrid is Fun")
Expand Down