Skip to content

Commit

Permalink
remove pvlive regime to fetch updated actuals
Browse files Browse the repository at this point in the history
This also makes me question whether the historic actuals can be fetched automatically on their own, or require a refresh... will make an issue
  • Loading branch information
braddf committed Sep 10, 2024
1 parent 23cc273 commit 1827b96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/nowcasting-app/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ export default function Home({ dashboardModeServer }: { dashboardModeServer: str
isValidating: allGspActualHistoricValidating,
error: allGspActualHistoricError
} = useLoadDataFromApi<components["schemas"]["GSPYieldGroupByDatetime"][]>(
`${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`
)}`,
{
Expand Down

0 comments on commit 1827b96

Please sign in to comment.