Solucion de errores

This commit is contained in:
Andres2908
2022-01-31 22:51:21 -06:00
parent 4ab56e9a5e
commit 3b5122e8ea
4 changed files with 21 additions and 14 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ const login = async (body) => {
return datos;
})
.catch((err) => {
throw new Error('Usuario o contraseña incorrecta.' + err);
throw new Error('Usuario o contraseña incorrecta.');
});
};