fix: can't log in to existing account

This commit is contained in:
Sainan 2025-01-31 17:15:58 +01:00
parent aca0b0fe4c
commit 01d369bf38

View File

@ -21,7 +21,7 @@ const databaseAccountSchema = new Schema<IDatabaseAccountJson>(
TrackedSettings: { type: [String], default: [] }, TrackedSettings: { type: [String], default: [] },
Nonce: { type: Number, default: 0 }, Nonce: { type: Number, default: 0 },
LastLoginDay: { type: Number }, LastLoginDay: { type: Number },
LatestEventMessageDate: { type: Date, required: true } LatestEventMessageDate: { type: Date, default: 0 }
}, },
opts opts
); );