mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
Update other Node.js-based templates
This commit is contained in:
parent
e1498f8f11
commit
96843e989a
@ -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))
|
||||
|
||||
@ -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),
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user