Add profileImage to schema, controllers, and routes
This commit is contained in:
1 parent
61832570c3
commit
e8d4a5d868
7 files changed
+167
-4
No files matched your search
@@ -20,8 +20,9 @@ const UserSchema = mongoose.Schema(
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
profilePicUrl: {
|
||||
type: String,
|
||||
profileImage: {
|
||||
data: Buffer,
|
||||
contentType: String,
|
||||
},
|
||||
isActive: {
|
||||
type: Boolean,
|
||||
|
||||
Reference in new issue
Block a user