diff --git a/web/pw-server/src/routes/matches/[match_id].svelte b/web/pw-server/src/routes/matches/[match_id].svelte index 7c1507c..11d6ee3 100644 --- a/web/pw-server/src/routes/matches/[match_id].svelte +++ b/web/pw-server/src/routes/matches/[match_id].svelte @@ -4,14 +4,10 @@ try { const matchId = params["match_id"]; const apiClient = new ApiClient(fetch); - const [matchData, matchLog] = await Promise.all([ - apiClient.get(`/api/matches/${matchId}`), - apiClient.getText(`/api/matches/${matchId}/log`), - ]); + const matchData = await apiClient.get(`/api/matches/${matchId}`); return { props: { - matchData: matchData, - matchLog: matchLog, + matchData, }, }; } catch (error) { @@ -24,9 +20,16 @@