diff options
Diffstat (limited to 'src/index.ts')
-rw-r--r-- | src/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts index 4da37d7..857fd88 100644 --- a/src/index.ts +++ b/src/index.ts @@ -211,7 +211,7 @@ app.get('/auction/:uuid', async (req, res) => { app.get('/playerauctions/:user', async (req, res) => { try { res.json( - await fetchPlayerAuctions(req.params.user) + await fetchPlayerAuctions(req.params.user, parseInt(req.query.page as string) || 0) ) } catch (err) { console.error(err) |