Skip to content

Commit 4267bae

Browse files
authored
Update README.md
1 parent 122f538 commit 4267bae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ A wrap around response for aws lambda integration proxy
1414
exports.handler = (event, context, callback) => {
1515
// response method needs at least 3 parameters
1616
// statusCode, headers, body
17-
var response = lambdaProxy.response(200, { 'X-header': 'Your headers value' }, { 'bodyData': 'yourBodyData });
17+
var response = lambdaProxy.response(200, { 'X-header': 'Your headers value' }, { 'bodyData': 'yourBodyData' });
1818
1919
// -> response = {
2020
// statusCodes: 200,
@@ -26,7 +26,7 @@ A wrap around response for aws lambda integration proxy
2626
2727
// OR you can pass the callback to the `response` method and it will be called automatically
2828
// The above implementation equal to
29-
lambdaProxy.response(200, { 'X-header': 'Your headers value' }, { 'bodyData': 'yourBodyData }, callback);
29+
lambdaProxy.response(200, { 'X-header': 'Your headers value' }, { 'bodyData': 'yourBodyData' }, callback);
3030
};
3131
```
3232

0 commit comments

Comments
 (0)