diff --git a/index.js b/index.js index f3713b5..8931fa7 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,5 @@ // Define the handler function -export const handler = async (event, context) => { +const handler = async (event, context) => { try { // Prepare the response JSON const responseJson = { @@ -17,4 +17,6 @@ export const handler = async (event, context) => { context.setHeader("Content-Type", "text/plain"); context.end("Internal Server Error"); } -}; \ No newline at end of file +}; + +module.exports = { handler };