Explorar el Código

User model minor changes

pull/16/head
Djordje Djoric hace 3 años
padre
commit
1e2890a7c5
Se han modificado 1 ficheros con 4 adiciones y 3 borrados
  1. 4
    3
      src/models/user.js

+ 4
- 3
src/models/user.js Ver fichero

type: String type: String
}, },
email: { email: {
type: String
type: String,
required: true
}, },
password: { password: {
type: String
type: String,
required: true
}, },
tokens: [{ tokens: [{
token: { token: {
type: String, type: String,
required: true
} }
}] }]
}) })

Cargando…
Cancelar
Guardar