Skip to content

Commit

Permalink
formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
ab-smith committed Dec 23, 2024
1 parent 02ce510 commit 18b082f
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -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 };
};

0 comments on commit 18b082f

Please sign in to comment.