Skip to content

Commit

Permalink
fix: Updated isBase64Encoded value to bool (aws#699)
Browse files Browse the repository at this point in the history
  • Loading branch information
sliedig authored and jfuss committed Oct 12, 2018
1 parent 504ca32 commit 36c9d99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"resource": "{{resource}}",
"path": "/{{path}}",
"httpMethod": "{{method}}",
"isBase64Encoded": "false",
"isBase64Encoded": true,
"queryStringParameters": {
"foo": "bar"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/local/start_lambda/test_start_lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def test_lambda_function_raised_error(self):
self.assertEquals(response.get("Payload").read().decode('utf-8'),
'{"errorMessage": "Lambda is raising an exception", '
'"errorType": "Exception", '
'"stackTrace": [["/var/task/main.py", 43, "raise_exception", '
'"stackTrace": [["/var/task/main.py", 47, "raise_exception", '
'"raise Exception(\\"Lambda is raising an exception\\")"]]}')
self.assertEquals(response.get("FunctionError"), 'Unhandled')
self.assertEquals(response.get("StatusCode"), 200)
Expand Down

0 comments on commit 36c9d99

Please sign in to comment.