Selaa lähdekoodia

User model minor changes

pull/16/head
Djordje Djoric 4 vuotta sitten
vanhempi
commit
1e2890a7c5
1 muutettua tiedostoa jossa 4 lisäystä ja 3 poistoa
  1. 4
    3
      src/models/user.js

+ 4
- 3
src/models/user.js Näytä tiedosto

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
} }
}] }]
}) })

Loading…
Peruuta
Tallenna