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;