Raceresults: Fetch substitutions
This commit is contained in:
@ -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),
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user