thread Version updated

This commit is contained in:
2025-06-23 16:42:47 +05:30
parent 3ec45276f4
commit 20509c268a
8 changed files with 155 additions and 107 deletions

View File

@@ -7,6 +7,7 @@ export interface Token extends Document {
refreshToken: string;
resetTokenExpiry?: Date;
resetToken: string;
role: string;
}
const tokenSchema: Schema = new Schema({
userId: { type: Schema.Types.ObjectId, ref: "User" },