fix ranking order + display winning gifs

This commit is contained in:
2026-05-22 06:32:18 +02:00
parent 92dddca964
commit 4ba6a48246
13 changed files with 56 additions and 127 deletions
@@ -5,7 +5,6 @@ import type {
PuzzleResponse,
SubmissionFile,
UserInfo,
TournamentWinners,
TournamentSubmissions,
TournamentPuzzleResults
} from '../types'
@@ -109,10 +108,6 @@ export class ApiService {
return this.request<SteamCollection>('/submissions/collection')
}
async getWinners(): Promise<ApiResponse<TournamentWinners>> {
return this.request<TournamentWinners>('/results/winners')
}
async getTopSubmissions(limit = 5): Promise<ApiResponse<TournamentSubmissions>> {
return this.request<TournamentSubmissions>(`/results/top-submissions?limit=${limit}`)
}