This commit is contained in:
2024-06-17 18:17:36 +05:00
parent 211f206e86
commit 7f9afc592c
5 changed files with 26 additions and 31 deletions
+3
View File
@@ -32,6 +32,9 @@ const activeSessionSchema = new mongoose_1.Schema({
connectedPlayersCount: {
type: Number,
},
endAt: {
type: Date,
},
}, {
timestamps: true,
toJSON: { virtuals: true },