admin visibilty- temp fix

This commit is contained in:
Harshitha Shetty
2025-03-14 12:43:12 +05:30
parent 19797290f3
commit 366dc07bb6
4 changed files with 193 additions and 39 deletions

View File

@@ -16,6 +16,10 @@ const UserSchema = new mongoose.Schema(
type: Date,
default: null,
},
isAdmin:{
type:Boolean,
default: false,
}
},
{
timestamps: true,