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

Merged
Sainan merged 1 commits from fix-nonce into main 2024-06-10 04:56:58 -07:00

View File

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