Updated OPTIONS method for user function

This commit is contained in:
Michael Mainguy 2023-10-17 12:25:58 -05:00
parent 71128abb5f
commit bb93e502c9

View File

@ -22,7 +22,7 @@ export const handler: Handler = async (event: HandlerEvent, context: HandlerCont
const params = JSON.parse(event.body);
console.log(event.body);
const dbKey = params.shareKey;
const dbKey = params.username;
const password = params.password;
if (!dbKey || !password) {