Skip to content

Commit

Permalink
hotfix - corregidos fallos para que pasen tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianfernandezalonso committed Apr 3, 2022
1 parent d9c1c8c commit 9d4facf
Show file tree
Hide file tree
Showing 3 changed files with 22,995 additions and 134 deletions.
2 changes: 1 addition & 1 deletion restapi/usuarios/UsuarioSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const usuarioSchema = new mongoose.Schema({
lowercase: true,
immutable: true,
validate: {
validator: (v: String) => validateEmail(v),
validator: (v: string) => validateEmail(v),
message: (props: { value: any; }) => `${props.value} no es un email válido`,
}
},
Expand Down
Loading

0 comments on commit 9d4facf

Please sign in to comment.