aboutsummaryrefslogtreecommitdiff
path: root/src/mojang.ts
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 /src/mojang.ts
parentd202ebeaa39f4422da975cf678d571dc8071b439 (diff)
downloadskyblock-api-b479701eada6dc2beb8018e768e109b687a9fc1d.tar.gz
skyblock-api-b479701eada6dc2beb8018e768e109b687a9fc1d.tar.bz2
skyblock-api-b479701eada6dc2beb8018e768e109b687a9fc1d.zip
remove a console.log
Diffstat (limited to 'src/mojang.ts')
-rw-r--r--src/mojang.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mojang.ts b/src/mojang.ts
index 2e88dbd..2560c77 100644
--- a/src/mojang.ts
+++ b/src/mojang.ts
@@ -73,11 +73,10 @@ export async function profileFromUsername(username: string): Promise<MojangApiRe
data = JSON.parse(rawData)
} catch {}
- console.log('mojang returned', rawData)
if (!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 {