From 82d8e9b0fff00f065f956ca92bd63c2d8e9163ec Mon Sep 17 00:00:00 2001 From: Nivetharamesh Date: Mon, 23 Jun 2025 16:43:20 +0530 Subject: [PATCH] Model role updated --- src/shared/V1Models/Auth/user.ts | 6 ------ 1 file changed, 6 deletions(-) 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,