mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-07 16:05:12 +08:00
setting default stats value
This commit is contained in:
parent
518c3ff4c5
commit
7f85d6023d
1 changed files with 5 additions and 0 deletions
|
|
@ -31,6 +31,11 @@ export async function db_getUserSnapshot() {
|
|||
daily: null,
|
||||
},
|
||||
},
|
||||
globalStats: {
|
||||
time: 0,
|
||||
started: 0,
|
||||
completed: 0,
|
||||
},
|
||||
};
|
||||
try {
|
||||
await db
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue