aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2021-06-02 20:48:11 -0500
committermat <github@matdoes.dev>2021-06-02 20:48:11 -0500
commitb479701eada6dc2beb8018e768e109b687a9fc1d (patch)
tree66c9958207d204d2ecd453a0beba56ec629a48bc /build
parentd202ebeaa39f4422da975cf678d571dc8071b439 (diff)
downloadskyblock-api-b479701eada6dc2beb8018e768e109b687a9fc1d.tar.gz
skyblock-api-b479701eada6dc2beb8018e768e109b687a9fc1d.tar.bz2
skyblock-api-b479701eada6dc2beb8018e768e109b687a9fc1d.zip
remove a console.log
Diffstat (limited to 'build')
-rw-r--r--build/mojang.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/mojang.js b/build/mojang.js
index dac5789..e5b6ee6 100644
--- a/build/mojang.js
+++ b/build/mojang.js
@@ -60,10 +60,9 @@ async function profileFromUsername(username) {
data = JSON.parse(rawData);
}
catch { }
- console.log('mojang returned', rawData);
if (!(data === null || data === void 0 ? void 0 : data.id)) {
- console.log('mojang api failed, trying ashcon as backup');
return { uuid: null, username: null };
+ // console.log('mojang api failed, trying ashcon as backup')
// return await profileFromUsernameAlternative(username)
}
return {