Skip to content

Commit

Permalink
attempt to limit to fix csv issues
Browse files Browse the repository at this point in the history
  • Loading branch information
edcous committed Sep 20, 2024
1 parent dbe443f commit 62555de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webserver/routes/api/reports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ router.get(
req.query.csv &&
booleanFromData(req.query.csv) &&
!numberFromData(req.query.count)
? await topUsersQuery
? await topUsersQuery.limit(100)
: await topUsersQuery.limit(count);

topUsers.forEach(x => {
Expand Down

0 comments on commit 62555de

Please sign in to comment.