Add profileImage to schema, controllers, and routes

This commit is contained in:
Alex Holliday committed 2024-07-01 11:48:56 -07:00
1 parent 61832570c3
commit e8d4a5d868
7 files changed
+167 -4

No files matched your search

+3 -2
View File
@@ -20,8 +20,9 @@ const UserSchema = mongoose.Schema(
type: String,
required: true,
},
profilePicUrl: {
type: String,
profileImage: {
data: Buffer,
contentType: String,
},
isActive: {
type: Boolean,