aboutsummaryrefslogtreecommitdiff
path: root/src/discord.ts
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2021-05-27 20:29:30 -0500
committermat <github@matdoes.dev>2021-05-27 20:29:30 -0500
commitf2f18c27d2e849fdc3b2a6766dc6ab4005cde7df (patch)
tree641ea6ec80309cbbccd70834b47d0c6fa769cf99 /src/discord.ts
parentf065fd2dd0fa38870727069e0ff2382c21cfe080 (diff)
downloadskyblock-api-f2f18c27d2e849fdc3b2a6766dc6ab4005cde7df.tar.gz
skyblock-api-f2f18c27d2e849fdc3b2a6766dc6ab4005cde7df.tar.bz2
skyblock-api-f2f18c27d2e849fdc3b2a6766dc6ab4005cde7df.zip
random random debug things and optimize leaderboards
optimize leaderboards by fetching all the raw ones at the beginning
Diffstat (limited to 'src/discord.ts')
-rw-r--r--src/discord.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/discord.ts b/src/discord.ts
index 41f4c6e..48146b5 100644
--- a/src/discord.ts
+++ b/src/discord.ts
@@ -37,7 +37,6 @@ export async function exchangeCode(redirectUri: string, code: string): Promise<T
'redirect_uri': redirectUri,
'scope': 'identify'
}
- console.log(new URLSearchParams(data).toString())
const fetchResponse = await fetch(
API_ENDPOINT + '/oauth2/token',
{