Update other Node.js-based templates

This commit is contained in:
Philipp Muens 2019-04-12 12:49:00 +02:00
parent e1498f8f11
commit 96843e989a
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ export const hello = (event, context, cb) => {
body: JSON.stringify({
message: 'Go Serverless Webpack (Ecma Script) v1.0! Second module!',
input: event,
}),
}, null, 2),
};
p
.then(() => cb(null, response))

View File

@ -7,6 +7,6 @@ export const hello: APIGatewayProxyHandler = async (event, _context) => {
body: JSON.stringify({
message: 'Go Serverless Webpack (Typescript) v1.0! Your function executed successfully!',
input: event,
}),
}, null, 2),
};
}