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

Match AWS behavior with text content #3

Merged
merged 1 commit into from
Jan 2, 2018

Conversation

bcomnes
Copy link
Contributor

@bcomnes bcomnes commented Dec 29, 2017

Resolves #2.

@bcomnes bcomnes added the bug label Dec 29, 2017
@bcomnes bcomnes self-assigned this Dec 29, 2017
@bcomnes bcomnes removed the bug label Dec 29, 2017
@@ -35,7 +35,7 @@ function createHandler(dir) {
httpMethod: request.method,
queryStringParameters: request.query,
headers: request.headers,
body: isBase64 ? request.body : base64.encode(request.body),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the ternary got reversed here.

@biilmann
Copy link
Member

biilmann commented Jan 2, 2018

LGTM

@biilmann biilmann merged commit 345ac91 into netlify:master Jan 2, 2018
@bcomnes bcomnes deleted the text-body branch January 5, 2018 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants