aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts
index 1e641a1..06bdc5f 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -33,7 +33,7 @@ app.get('/player/:user', async(req, res) => {
res.json(
await fetchUser(
{ user: req.params.user },
- ['profiles', 'player']
+ [req.query.basic as string === 'true' ? undefined : 'profiles', 'player']
)
)
})