Browse Source

User token required

pull/16/head
Djordje Djoric 3 years ago
parent
commit
fdfb12b634
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/models/user.js

+ 1
- 0
src/models/user.js View File

@@ -19,6 +19,7 @@ const userSchema = new mongoose.Schema({
tokens: [{
token: {
type: String,
required: true
}
}]
})

Loading…
Cancel
Save