diff --git a/frontend/src/routes/(app)/[model=urlmodel]/export/+server.ts b/frontend/src/routes/(app)/[model=urlmodel]/export/+server.ts index 97ddbef49..fe46f069d 100644 --- a/frontend/src/routes/(app)/[model=urlmodel]/export/+server.ts +++ b/frontend/src/routes/(app)/[model=urlmodel]/export/+server.ts @@ -2,7 +2,7 @@ import { BASE_API_URL } from '$lib/utils/constants'; import { error } from '@sveltejs/kit'; import type { RequestHandler } from './$types'; -export const GET: RequestHandler = async ({ fetch, params }) => { +export const GET: RequestHandler = async ({ fetch }) => { const URLModel = 'applied-controls'; const endpoint = `${BASE_API_URL}/${URLModel}/export_csv/`;