mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-12 23:20:25 +08:00
local pb timestamp
This commit is contained in:
parent
35db7c9021
commit
24051eba5e
1 changed files with 3 additions and 0 deletions
|
@ -225,6 +225,7 @@ async function db_saveLocalPB(
|
|||
pb.wpm = wpm;
|
||||
pb.acc = acc;
|
||||
pb.raw = raw;
|
||||
pb.timestamp = Date.now();
|
||||
}
|
||||
});
|
||||
if (!found) {
|
||||
|
@ -236,6 +237,7 @@ async function db_saveLocalPB(
|
|||
wpm: wpm,
|
||||
acc: acc,
|
||||
raw: raw,
|
||||
timestamp: Date.now()
|
||||
});
|
||||
}
|
||||
} catch (e) {
|
||||
|
@ -249,6 +251,7 @@ async function db_saveLocalPB(
|
|||
wpm: wpm,
|
||||
acc: acc,
|
||||
raw: raw,
|
||||
timestamp: Date.now()
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue