mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
12 lines
262 B
JavaScript
12 lines
262 B
JavaScript
'use strict';
|
|
|
|
function minimal(event, context, callback) {
|
|
console.info('Event type', event.requestContext.eventType);
|
|
if (event.body) console.info('Event body', event.body);
|
|
return callback(null, { statusCode: 200 });
|
|
}
|
|
|
|
module.exports = {
|
|
minimal,
|
|
};
|