Update index.js
This commit is contained in:
parent
57791c89a3
commit
3312d48a38
4
index.js
4
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 = {
|
||||
|
|
@ -18,3 +18,5 @@ export const handler = async (event, context) => {
|
|||
context.end("Internal Server Error");
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = { handler };
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user