aboutsummaryrefslogtreecommitdiff
path: root/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts
index 34f941b..1d75830 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -101,7 +101,7 @@ 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)
+ await fetchMemberLeaderboardSpots(req.params.user, req.params.profile, req.query.lazy === 'true')
)
} catch (err) {
console.error(err)