Remove unrequired var

This commit is contained in:
Fred Boniface 2023-08-31 21:35:04 +01:00
parent 86b072f387
commit a7e24f2cfc
1 changed files with 1 additions and 3 deletions

View File

@ -6,10 +6,8 @@
export let station: string; export let station: string;
export let title: string | undefined = 'Loading...'; export let title: string | undefined = 'Loading...';
const fetchUrl = getApiUrl();
async function fetchStaffLdb(station: string) { 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 = { const options = {
method: 'GET', method: 'GET',
headers: { headers: {