aboutsummaryrefslogtreecommitdiff
path: root/build
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 /build
parent55d5d936d7ccc2b78ea1de6f07e71f9e1e2c9b74 (diff)
downloadskyblock-api-04d79fe41fae83eed8f17eda97e4e4827dc79e92.tar.gz
skyblock-api-04d79fe41fae83eed8f17eda97e4e4827dc79e92.tar.bz2
skyblock-api-04d79fe41fae83eed8f17eda97e4e4827dc79e92.zip
temporarily disable fetchMemberLeaderboardSpots
Diffstat (limited to 'build')
-rw-r--r--build/index.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/index.js b/build/index.js
index 5f88c7e..62c1f7e 100644
--- a/build/index.js
+++ b/build/index.js
@@ -88,7 +88,10 @@ app.get('/player/:user/:profile', async (req, res) => {
});
app.get('/player/:user/:profile/leaderboards', async (req, res) => {
try {
- res.json(await database_1.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);