Updated OPTIONS method for user function
This commit is contained in:
parent
71128abb5f
commit
bb93e502c9
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user