mirror of
https://github.com/vercel/commerce.git
synced 2025-03-14 22:42:33 +00:00
Update handle-login.ts
This commit is contained in:
parent
41b14e55c3
commit
1384a88440
@ -22,7 +22,7 @@ const handleLogin = (data: any) => {
|
||||
|
||||
if (errors && errors.length) {
|
||||
throw new ValidationError({
|
||||
message: errors[0],
|
||||
message: getErrorMessage(errors[0]),
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user