forked from crowetic/commerce
Updated login handler
This commit is contained in:
parent
228f2141e7
commit
a72c6e49de
@ -17,8 +17,7 @@ const loginHandler: LoginHandlers['login'] = async ({
|
||||
// Passwords must be at least 7 characters and contain both alphabetic
|
||||
// and numeric characters.
|
||||
|
||||
// TODO: Currently not working, fix this asap.
|
||||
const loginData = await login({ variables: { email, password }, config })
|
||||
await login({ variables: { email, password }, config, res })
|
||||
|
||||
res.status(200).json({ data: null })
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user