diff --git a/framework/swell/auth/use-signup.tsx b/framework/swell/auth/use-signup.tsx index f01d45044..d417122fc 100644 --- a/framework/swell/auth/use-signup.tsx +++ b/framework/swell/auth/use-signup.tsx @@ -44,10 +44,7 @@ export const handler: MutationHook< const loginData = await fetch({ query: 'account', method: 'login', - variables: { - email, - password, - }, + variables: [email, password], }) handleLogin(loginData) } catch (error) {}