From a7e24f2cfcbff2a5bcd1ea8cb642b6da5f41054b Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Thu, 31 Aug 2023 21:35:04 +0100 Subject: [PATCH] Remove unrequired var --- src/lib/ldb/staff/staff-ldb.svelte | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/ldb/staff/staff-ldb.svelte b/src/lib/ldb/staff/staff-ldb.svelte index 80c33e3..fb68229 100644 --- a/src/lib/ldb/staff/staff-ldb.svelte +++ b/src/lib/ldb/staff/staff-ldb.svelte @@ -6,10 +6,8 @@ export let station: string; export let title: string | undefined = 'Loading...'; - const fetchUrl = getApiUrl(); - async function fetchStaffLdb(station: string) { - const url = `${fetchUrl}/api/v2/live/station/${station}/staff`; + const url = `${getApiUrl()}/api/v2/live/station/${station}/staff`; const options = { method: 'GET', headers: {