@ -15,3 +15,4 @@ functions:
- http:
method: get
path: hello
integration: lambda
@ -18,3 +18,4 @@ functions:
method: GET
path: first
@ -21,3 +21,4 @@ functions:
path: second
@ -122,7 +122,7 @@ module.exports = {
}
if (isLambdaProxyIntegration) {
res.status(resp.statusCode).send(resp.body);
res.status(resp.statusCode || 200).send(resp.body);
} else {
res.status(200).send(resp);