From 44d06ecb9b6faa7262c4873ad665fd14fa9339f4 Mon Sep 17 00:00:00 2001 From: MillenniumEarl Date: Thu, 4 Mar 2021 10:58:23 +0100 Subject: [PATCH] Missing radix parameter --- src/scripts/classes/mapping/platform-user.ts | 2 +- src/scripts/classes/prefix-parser.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/classes/mapping/platform-user.ts b/src/scripts/classes/mapping/platform-user.ts index 80785e7..7957af4 100644 --- a/src/scripts/classes/mapping/platform-user.ts +++ b/src/scripts/classes/mapping/platform-user.ts @@ -135,7 +135,7 @@ export default class PlatformUser { this._followed = $(MEMBER.FOLLOWED).text() === "Unfollow"; this._ignored = $(MEMBER.IGNORED).text() === "Unignore"; this._messages = parseInt($(MEMBER.MESSAGES).text(), 10); - this._reactionScore = parseInt($(MEMBER.REACTION_SCORE).text()); + this._reactionScore = parseInt($(MEMBER.REACTION_SCORE).text(), 10); this._points = parseInt($(MEMBER.POINTS).text(), 10); this._ratingsReceived = parseInt($(MEMBER.RATINGS_RECEIVED).text(), 10); diff --git a/src/scripts/classes/prefix-parser.ts b/src/scripts/classes/prefix-parser.ts index dda21ff..5cb0779 100644 --- a/src/scripts/classes/prefix-parser.ts +++ b/src/scripts/classes/prefix-parser.ts @@ -82,7 +82,7 @@ export default class PrefixParser { if (dict) { // Extract the key from the dict const key = this.getKeyByValue(dict, p); - ids.push(parseInt(key), 10); + ids.push(parseInt(key, 10)); } } return ids;