This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
stefan.stamenovic
/
diligent-node-api
Watch
2
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
User token required
pull/16/head
Djordje Djoric
3 years ago
parent
1e2890a7c5
commit
fdfb12b634
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
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
}
}]
})
Write
Preview
Loading…
Cancel
Save