Data/Official: Update scraped data "depends" name
This commit is contained in:
@ -2,7 +2,7 @@ import { fetch_drivers, fetch_scraped_driverstandings } from "$lib/fetch";
|
||||
import type { PageLoad } from "../../../$types";
|
||||
|
||||
export const load: PageLoad = async ({ fetch, depends }) => {
|
||||
depends("data:scraped_driverstandings", "data:drivers");
|
||||
depends("data:official", "data:drivers");
|
||||
|
||||
return {
|
||||
scraped_driverstandings: fetch_scraped_driverstandings(fetch),
|
||||
|
@ -2,7 +2,7 @@ import { fetch_drivers, fetch_races, fetch_scraped_raceresults } from "$lib/fetc
|
||||
import type { PageLoad } from "../../../$types";
|
||||
|
||||
export const load: PageLoad = async ({ fetch, depends }) => {
|
||||
depends("data:scraped_raceresults", "data:races", "data:drivers");
|
||||
depends("data:official", "data:races", "data:drivers");
|
||||
|
||||
return {
|
||||
scraped_raceresults: fetch_scraped_raceresults(fetch),
|
||||
|
@ -2,7 +2,7 @@ import { fetch_drivers, fetch_races, fetch_scraped_startinggrids } from "$lib/fe
|
||||
import type { PageLoad } from "../../../$types";
|
||||
|
||||
export const load: PageLoad = async ({ fetch, depends }) => {
|
||||
depends("data:scraped_startinggrids", "data:races", "data:drivers");
|
||||
depends("data:official", "data:races", "data:drivers");
|
||||
|
||||
return {
|
||||
scraped_startinggrids: fetch_scraped_startinggrids(fetch),
|
||||
|
@ -2,7 +2,7 @@ import { fetch_scraped_teamstandings, fetch_teams } from "$lib/fetch";
|
||||
import type { PageLoad } from "../../../$types";
|
||||
|
||||
export const load: PageLoad = async ({ fetch, depends }) => {
|
||||
depends("data:scraped_teamstandings", "data:teams");
|
||||
depends("data:official", "data:teams");
|
||||
|
||||
return {
|
||||
scraped_teamstandings: fetch_scraped_teamstandings(fetch),
|
||||
|
Reference in New Issue
Block a user