Skip to content

Instantly share code, notes, and snippets.

@imewish
Last active January 1, 2020 08:00
Show Gist options
  • Save imewish/534031c8624b6e0ebed3df6ed3426850 to your computer and use it in GitHub Desktop.
Save imewish/534031c8624b6e0ebed3df6ed3426850 to your computer and use it in GitHub Desktop.
'use strict';
module.exports.api = async event => {
return {
statusCode: 200,
body: JSON.stringify(
{
message: 'Go Serverless v1.0! Your function executed successfully!'
},
null,
2
),
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment