mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-12 15:08:45 +08:00
rounding rating just to be sure
This commit is contained in:
parent
0fad58b640
commit
ff27ab8139
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,8 @@ class QuoteRatingsController {
|
|||
);
|
||||
}
|
||||
|
||||
rating = Math.round(rating);
|
||||
|
||||
//check if user already submitted a rating
|
||||
let user = await UserDAO.getUser(uid);
|
||||
|
||||
|
|
Loading…
Reference in a new issue