mirror of
https://github.com/evroon/bracket.git
synced 2026-01-24 14:08:58 -05:00
Pass iterations in API call
This commit is contained in:
@@ -81,7 +81,7 @@ export function getUpcomingMatches(
|
||||
schedulerSettings: SchedulerSettings
|
||||
): SWRResponse {
|
||||
return useSWR(
|
||||
`tournaments/${tournament_id}/upcoming_matches?elo_diff_threshold=${schedulerSettings.eloThreshold}&only_behind_schedule=${schedulerSettings.onlyBehindSchedule}&limit=${schedulerSettings.limit}`,
|
||||
`tournaments/${tournament_id}/upcoming_matches?elo_diff_threshold=${schedulerSettings.eloThreshold}&only_behind_schedule=${schedulerSettings.onlyBehindSchedule}&limit=${schedulerSettings.limit}&iterations=${schedulerSettings.iterations}`,
|
||||
fetcher
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user