From e4fd83c3bcae15cbf1382bbd5d02cdf5bd5c0df0 Mon Sep 17 00:00:00 2001 From: Erik Vroon Date: Wed, 1 Feb 2023 17:38:32 +0100 Subject: [PATCH] Pass iterations in API call --- frontend/src/services/adapter.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/services/adapter.tsx b/frontend/src/services/adapter.tsx index d4d2c2d4..f4a43806 100644 --- a/frontend/src/services/adapter.tsx +++ b/frontend/src/services/adapter.tsx @@ -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 ); }