Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
YoctoProductions committed Dec 26, 2024
1 parent ccff855 commit fdb00f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/src/stats/stats.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ export class FetchStatsDTO {

@IsEnum(TimeRange) timeRange: TimeRange;

@Min(0) @Max(1000) limit: number;
@Min(0) @Max(200) limit: number;
}
2 changes: 1 addition & 1 deletion client/src/ui/GlobalLeaderboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function GlobalLeaderboard() {
api.post(url, {
sortBy: type.startsWith('total') ? type.slice(6) : type,
timeRange: range,
limit: 1000,
limit: 200,
}, (data: any) => setData(!data.message ? data : []));
};
const changeType = (type: string) => {
Expand Down

0 comments on commit fdb00f6

Please sign in to comment.