Update index.js

This commit is contained in:
fc-bot 2024-04-26 07:18:36 +00:00
parent 57791c89a3
commit 3312d48a38

View File

@ -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 = {
@ -18,3 +18,5 @@ export const handler = async (event, context) => {
context.end("Internal Server Error");
}
};
module.exports = { handler };