Update: add default values
This commit is contained in:
parent
16b04f1b91
commit
81c6895e72
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ module.exports = mongoose => {
|
|||
userId: String,
|
||||
videoIds: {
|
||||
type: Array,
|
||||
default: null
|
||||
default: []
|
||||
},
|
||||
name: String,
|
||||
isActive: {
|
||||
|
|
|
|||
Reference in a new issue