Compare commits

..

No commits in common. "6ccc285c611023b27e5ccfa706b3fdfbb25b3a20" and "ecf329dd69a73f661d53a76f89042a0db2dfe0d4" have entirely different histories.

View File

@ -116,7 +116,7 @@ function startOsuStatus() {
const windowTitle = firstInstance.processTitle;
lastOsuStatus = windowTitle;
const currentStatusRequest = await fetch(
"https://api.ez-pp.farm/v1/get_player_status?name=" + currentUser.username,
"https://api.ez-pp.farm/get_player_status?name=" + currentUser.username,
);
const currentStatus = await currentStatusRequest.json();
@ -127,7 +127,8 @@ function startOsuStatus() {
const currentModeString = gamemodes[currentMode];
const currentInfoRequest = await fetch(
"https://api.ez-pp.farm/v1/get_player_info?name=" + currentUser.username + "&scope=all",
"https://api.ez-pp.farm/get_player_info?name=" + currentUser.username +
"&scope=all",
);
const currentInfo = await currentInfoRequest.json();
let currentUsername = currentInfo.player.info.name;