Missing radix parameter

pull/75/head
MillenniumEarl 2021-03-04 10:58:23 +01:00
parent 96f321b417
commit 44d06ecb9b
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ export default class PlatformUser {
this._followed = $(MEMBER.FOLLOWED).text() === "Unfollow"; this._followed = $(MEMBER.FOLLOWED).text() === "Unfollow";
this._ignored = $(MEMBER.IGNORED).text() === "Unignore"; this._ignored = $(MEMBER.IGNORED).text() === "Unignore";
this._messages = parseInt($(MEMBER.MESSAGES).text(), 10); 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._points = parseInt($(MEMBER.POINTS).text(), 10);
this._ratingsReceived = parseInt($(MEMBER.RATINGS_RECEIVED).text(), 10); this._ratingsReceived = parseInt($(MEMBER.RATINGS_RECEIVED).text(), 10);

View File

@ -82,7 +82,7 @@ export default class PrefixParser {
if (dict) { if (dict) {
// Extract the key from the dict // Extract the key from the dict
const key = this.getKeyByValue(dict, p); const key = this.getKeyByValue(dict, p);
ids.push(parseInt(key), 10); ids.push(parseInt(key, 10));
} }
} }
return ids; return ids;