diff --git a/src/routes/data/raceresults/+page.ts b/src/routes/data/raceresults/+page.ts index 29a7204..e35b58b 100644 --- a/src/routes/data/raceresults/+page.ts +++ b/src/routes/data/raceresults/+page.ts @@ -1,4 +1,4 @@ -import { fetch_drivers, fetch_raceresults, fetch_races } from "$lib/fetch"; +import { fetch_drivers, fetch_raceresults, fetch_races, fetch_substitutions } from "$lib/fetch"; import type { PageLoad } from "../../$types"; export const load: PageLoad = async ({ fetch, depends }) => { @@ -8,5 +8,6 @@ export const load: PageLoad = async ({ fetch, depends }) => { drivers: fetch_drivers(fetch), races: fetch_races(fetch), raceresults: fetch_raceresults(fetch), + substitutions: fetch_substitutions(fetch), }; };