Profile Picture
This commit is contained in:
1 parent
867770e14e
commit
43f662982e
365 files changed
+45560
-167
No files matched your search
@@ -13,6 +13,10 @@ const UserSchema = new mongoose.Schema({
|
||||
type: String,
|
||||
required: true
|
||||
},
|
||||
image: {
|
||||
data: Buffer,
|
||||
contentType: String
|
||||
},
|
||||
role: {
|
||||
type: String,
|
||||
default: 'Student'
|
||||
|
||||
Reference in new issue
Block a user