From bb93e502c91ba03ccb777e56d947c1138d243ba5 Mon Sep 17 00:00:00 2001 From: Michael Mainguy Date: Tue, 17 Oct 2023 12:25:58 -0500 Subject: [PATCH] Updated OPTIONS method for user function --- netlify/functions/users/users.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlify/functions/users/users.ts b/netlify/functions/users/users.ts index c911fae..3094941 100644 --- a/netlify/functions/users/users.ts +++ b/netlify/functions/users/users.ts @@ -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) {