aboutsummaryrefslogtreecommitdiff
path: root/src/index.ts
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2021-06-01 16:08:13 -0500
committermat <github@matdoes.dev>2021-06-01 16:08:13 -0500
commit04d79fe41fae83eed8f17eda97e4e4827dc79e92 (patch)
tree1e468c23170414ec81d9ef14fac49aa998ff9e1f /src/index.ts
parent55d5d936d7ccc2b78ea1de6f07e71f9e1e2c9b74 (diff)
downloadskyblock-api-04d79fe41fae83eed8f17eda97e4e4827dc79e92.tar.gz
skyblock-api-04d79fe41fae83eed8f17eda97e4e4827dc79e92.tar.bz2
skyblock-api-04d79fe41fae83eed8f17eda97e4e4827dc79e92.zip
temporarily disable fetchMemberLeaderboardSpots
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/index.ts b/src/index.ts
index 389a1fe..d6859d4 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -79,9 +79,10 @@ app.get('/player/:user/:profile', async(req, res) => {
app.get('/player/:user/:profile/leaderboards', async(req, res) => {
try {
- res.json(
- await fetchMemberLeaderboardSpots(req.params.user, req.params.profile)
- )
+ res.json({ ok: false })
+ // res.json(
+ // await fetchMemberLeaderboardSpots(req.params.user, req.params.profile)
+ // )
} catch (err) {
console.error(err)
res.json({ ok: false })