This commit is contained in:
2024-09-26 18:32:14 +05:00
parent 7f9afc592c
commit 6ea74b5ffc
7 changed files with 129 additions and 55 deletions
+3
View File
@@ -35,6 +35,9 @@ const activeSessionSchema = new mongoose_1.Schema({
endAt: {
type: Date,
},
localIP: {
type: String,
},
}, {
timestamps: true,
toJSON: { virtuals: true },