mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-27 10:31:22 +08:00
migrating discordid
This commit is contained in:
parent
1a9973e786
commit
c4fdeb53ae
1 changed files with 1 additions and 0 deletions
|
|
@ -50,6 +50,7 @@ async function migrateUsers() {
|
|||
|
||||
if (userData.completedTests)
|
||||
mongoUser.completedTests = userData.completedTests;
|
||||
if (userData.discordId) mongoUser.discordId = userData.discordId;
|
||||
if (userData.startedTests)
|
||||
mongoUser.startedTests = userData.startedTests;
|
||||
if (userData.timeTyping) mongoUser.timeTyping = userData.timeTyping;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue