admin visibilty- temp fix
This commit is contained in:
@@ -16,6 +16,10 @@ const UserSchema = new mongoose.Schema(
|
||||
type: Date,
|
||||
default: null,
|
||||
},
|
||||
isAdmin:{
|
||||
type:Boolean,
|
||||
default: false,
|
||||
}
|
||||
},
|
||||
{
|
||||
timestamps: true,
|
||||
|
||||
Reference in New Issue
Block a user