update user model

This commit is contained in:
Juthatip McDevitt 2024-03-11 12:29:31 -05:00
parent a974e3c0c5
commit 01adc806d7

View file

@ -17,7 +17,7 @@ const userSchema = new mongoose.Schema({
},
avatar: {
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});