diff --git a/src/shared/V1Models/Auth/user.ts b/src/shared/V1Models/Auth/user.ts index e07a68f..16e3ae1 100644 --- a/src/shared/V1Models/Auth/user.ts +++ b/src/shared/V1Models/Auth/user.ts @@ -8,7 +8,6 @@ export interface UserData extends Document { notificationEnable: boolean; About: string; isArchive: boolean; - role: string; profilePicture: string; recentlyViewed: string[]; } @@ -19,11 +18,6 @@ const UserDataSchema: Schema = new Schema({ About: { type: String, }, - role: { - type: String, - default: "User", - enum: ["User", "Admin"], - }, isShare: { type: Boolean, default: false,