Remove debug
This commit is contained in:
parent
30ff2aaf02
commit
2e85650dfc
@ -50,7 +50,6 @@ export default class Utils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static async checkLeaderboard(url, steamId) {
|
static async checkLeaderboard(url, steamId) {
|
||||||
console.log(url.replace("%s", steamId));
|
|
||||||
const data = await fetch(url.replace("%s", steamId), {
|
const data = await fetch(url.replace("%s", steamId), {
|
||||||
headers: {
|
headers: {
|
||||||
"X-Requested-With": "BeatSaber Overlay",
|
"X-Requested-With": "BeatSaber Overlay",
|
||||||
@ -60,7 +59,6 @@ export default class Utils {
|
|||||||
return true; // Just assume it's true is we are rate limited
|
return true; // Just assume it's true is we are rate limited
|
||||||
}
|
}
|
||||||
const json = await data.json();
|
const json = await data.json();
|
||||||
|
|
||||||
return !!json.pp;
|
return !!json.pp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user