fix: can't log in to existing account
All checks were successful
Build / build (18) (push) Successful in 1m51s
Build / build (20) (push) Successful in 38s
Build / build (22) (push) Successful in 38s

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: [] },
Nonce: { type: Number, default: 0 },
LastLoginDay: { type: Number },
LatestEventMessageDate: { type: Date, required: true }
LatestEventMessageDate: { type: Date, default: 0 }
},
opts
);