fix: webui login failing on pre-nonce account that has not been used in-game since (#287)

This commit is contained in:
Sainan 2024-06-10 13:56:58 +02:00 committed by GitHub
parent 656e70227c
commit fdaf3da467
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@ const databaseAccountSchema = new Schema<IDatabaseAccountDocument>(
AmazonRefreshToken: { type: String }, AmazonRefreshToken: { type: String },
ConsentNeeded: { type: Boolean, required: true }, ConsentNeeded: { type: Boolean, required: true },
TrackedSettings: { type: [String], default: [] }, TrackedSettings: { type: [String], default: [] },
Nonce: { type: Number, required: true } Nonce: { type: Number, default: 0 }
}, },
opts opts
); );