This commit is contained in:
Yûki VACHOT 2021-11-01 19:53:21 +01:00
parent 4138c22051
commit e17adfcfa5
11 changed files with 193 additions and 83 deletions

View file

@ -6,7 +6,7 @@ module.exports = mongoose => {
hashPass: String, // WARNING: We don't want to send back the hashPass
mail: String,
role: {
type: Number,
type: Object,
default: roles.User
},
playlists: []