Compare commits
No commits in common. "a72ae1df5f5bf22372ebd61ccd1f67907cb18348" and "4e79809c19ff34a87b1fe09e3a5953fd0a178e9e" have entirely different histories.
a72ae1df5f
...
4e79809c19
5
main.js
5
main.js
@ -116,7 +116,7 @@ function startOsuStatus() {
|
|||||||
const windowTitle = firstInstance.processTitle;
|
const windowTitle = firstInstance.processTitle;
|
||||||
lastOsuStatus = windowTitle;
|
lastOsuStatus = windowTitle;
|
||||||
const currentStatusRequest = await fetch(
|
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();
|
const currentStatus = await currentStatusRequest.json();
|
||||||
|
|
||||||
@ -127,7 +127,8 @@ function startOsuStatus() {
|
|||||||
const currentModeString = gamemodes[currentMode];
|
const currentModeString = gamemodes[currentMode];
|
||||||
|
|
||||||
const currentInfoRequest = await fetch(
|
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();
|
const currentInfo = await currentInfoRequest.json();
|
||||||
let currentUsername = currentInfo.player.info.name;
|
let currentUsername = currentInfo.player.info.name;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user