monkeytype/backend/src
Christian Fehmer 8a41ccee97
fix: past leaderboard not fetching the users rank (@fehmer) (#6289)
Show the users ranking for the last day on the daily and for the last
week on the weekly leaderboard correctly.

- Fix request query schema for the [daily
rank](https://api.monkeytype.com/docs/internal#tag/leaderboards/operation/leaderboards.getDailyRank)
having pagination
- Fix request query schema for the [weekly
rank](https://api.monkeytype.com/docs/internal#tag/leaderboards/operation/leaderboards.getWeeklyXpRank)
missing the `weeksBefore` parameter
- Fix frontend to include the `daysBefore` or `weeksBefore` parameter on
`rank` calls

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2025-02-21 16:52:20 +01:00
..
anticheat
api fix: past leaderboard not fetching the users rank (@fehmer) (#6289) 2025-02-21 16:52:20 +01:00
constants
credentials
dal
init
jobs
middlewares
queues
services
utils
workers
app.ts
server.ts
version.ts chore: update version string format 2025-02-20 11:42:10 +01:00