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) {