mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Update handle-login.ts
This commit is contained in:
@@ -22,7 +22,7 @@ const handleLogin = (data: any) => {
|
||||
|
||||
if (errors && errors.length) {
|
||||
throw new ValidationError({
|
||||
message: errors[0],
|
||||
message: getErrorMessage(errors[0]),
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user