mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 21:09:18 +08:00
typo, deleting allchars field
This commit is contained in:
parent
bcf404f32b
commit
ba40c8b152
1 changed files with 3 additions and 1 deletions
|
@ -212,7 +212,9 @@ async function migrateUsers() {
|
|||
}
|
||||
delete resultData.correctChars;
|
||||
delete resultData.incorrectChars;
|
||||
resultData.charStats = newStats.completedTests++;
|
||||
delete resultData.allChars;
|
||||
|
||||
newStats.completedTests++;
|
||||
if (resultData.restartCount) {
|
||||
newStats.startedTests += resultData.restartCount + 1;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue