Removed console.log and redundancy

This commit is contained in:
FlorianZahn
2021-10-14 02:16:04 +02:00
committed by GitHub
parent af66a77026
commit 93e440385f

View File

@@ -776,9 +776,7 @@ async function isVipLookup() {
Config.config.lastIsVipUpdate = currentTime;
utils.sendRequestToServer("GET", "/api/isUserVIP?userID=" + Config.config.userID,
(response) => {
if (response.status === 200 && response.ok) {
console.log(JSON.parse(response.responseText).vip);
console.log(Config.config.userID);
if (response.status === 200) {
if (JSON.parse(response.responseText).vip === true) {
Config.config.isVip = true;
}