mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-06 13:40:16 +08:00
changed to let
This commit is contained in:
parent
a016d66474
commit
0ce23c0041
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class QuoteRatingsController {
|
|||
if (!user) {
|
||||
throw new MonkeyError(401, "User not found.");
|
||||
}
|
||||
const quoteRatings = user.quoteRatings;
|
||||
let quoteRatings = user.quoteRatings;
|
||||
|
||||
if (quoteRatings === undefined) quoteRatings = {};
|
||||
if (quoteRatings[language] === undefined) quoteRatings[language] = {};
|
||||
|
|
Loading…
Add table
Reference in a new issue