Added api-key header.

This commit is contained in:
Michael Mainguy 2023-08-15 10:32:46 -05:00
parent 6e16c409de
commit 5e37ec6623

View File

@ -24,9 +24,8 @@ export const handler: Handler = async (event: HandlerEvent, context: HandlerCont
'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE' 'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE'
}; };
return { return {
statusCode: 200, statusCode: 204,
headers, headers
body: 'OK'
} }
break; break;
default: default: