From 1827b96bb36399dcde49b9a1f93f1df873426061 Mon Sep 17 00:00:00 2001 From: braddf Date: Tue, 10 Sep 2024 09:13:07 +0100 Subject: [PATCH] remove pvlive regime to fetch updated actuals This also makes me question whether the historic actuals can be fetched automatically on their own, or require a refresh... will make an issue --- apps/nowcasting-app/pages/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/nowcasting-app/pages/index.tsx b/apps/nowcasting-app/pages/index.tsx index ea249ca7..fd0fd784 100644 --- a/apps/nowcasting-app/pages/index.tsx +++ b/apps/nowcasting-app/pages/index.tsx @@ -320,7 +320,7 @@ export default function Home({ dashboardModeServer }: { dashboardModeServer: str isValidating: allGspActualHistoricValidating, error: allGspActualHistoricError } = useLoadDataFromApi( - `${API_PREFIX}/solar/GB/gsp/pvlive/all?regime=in-day&compact=true&end_datetime_utc=${encodeURIComponent( + `${API_PREFIX}/solar/GB/gsp/pvlive/all?compact=true&end_datetime_utc=${encodeURIComponent( `${actualsLastFetch30MinISO.slice(0, 19)}+00:00` )}`, {