Remove unrequired var

This commit is contained in:
Fred Boniface 2023-08-31 21:35:04 +01:00
parent 86b072f387
commit a7e24f2cfc

View File

@ -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: {