StaffLDB-Minify #1
@ -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: {
|
||||||
|
Loading…
Reference in New Issue
Block a user