From 3312d48a38d8ac86bd0c90a6950cdc25fb6cadaa Mon Sep 17 00:00:00 2001 From: fc-bot Date: Fri, 26 Apr 2024 07:18:36 +0000 Subject: [PATCH] Update index.js --- index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 };