diff --git a/frontend/src/routes/(app)/(internal)/insights/controls-impact/+page.server.ts b/frontend/src/routes/(app)/(internal)/insights/controls-impact/+page.server.ts index ac8154c51..8aa903d5f 100644 --- a/frontend/src/routes/(app)/(internal)/insights/controls-impact/+page.server.ts +++ b/frontend/src/routes/(app)/(internal)/insights/controls-impact/+page.server.ts @@ -1,13 +1,12 @@ - import { BASE_API_URL } from '$lib/utils/constants'; import type { PageServerLoad } from './$types'; export const load: PageServerLoad = async ({ params, fetch }) => { - const endpoint = `${BASE_API_URL}/applied-controls/impact_graph/`; + const endpoint = `${BASE_API_URL}/applied-controls/impact_graph/`; - const res = await fetch(endpoint); - const data = await res.json(); + const res = await fetch(endpoint); + const data = await res.json(); - return { data }; + return { data }; };