update user model
This commit is contained in:
parent
a974e3c0c5
commit
01adc806d7
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ const userSchema = new mongoose.Schema({
|
||||||
},
|
},
|
||||||
avatar: {
|
avatar: {
|
||||||
type: String,
|
type: String,
|
||||||
default: "https://cdn.pixabay.com/photo/2015/10/05/22/37/blank-profile-picture-973460_960_720.png",
|
default: "https://cdn.pixabay.com/photo/2015/10/05/22/37/blank-profile-picture-973460_960_720.png"
|
||||||
},
|
},
|
||||||
}, {timestamps:true});
|
}, {timestamps:true});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue