Skip to content
Snippets Groups Projects

Feature/modify profile

Merged VOGT VICTOR requested to merge feature/modify-profile into develop
Compare and Show latest version
4 files
+ 7
340
Preferences
Compare changes
Files
4
+ 4
0
@@ -56,6 +56,10 @@ const UserSchema = new mongoose.Schema({
select: false,
default: null,
},
url_photo: {
type:String,
required: false,
}
});
UserSchema.set('toJSON', {