From 86b072f38723a7a7e235a15a681b6d9212eeeeb1 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Thu, 31 Aug 2023 21:31:27 +0100 Subject: [PATCH] Run prettier --- src/lib/ldb/staff/staff-ldb.svelte | 50 ++++++++++++++---------------- src/lib/scripts/upstream.ts | 14 ++++----- 2 files changed, 31 insertions(+), 33 deletions(-) diff --git a/src/lib/ldb/staff/staff-ldb.svelte b/src/lib/ldb/staff/staff-ldb.svelte index d7db1ad..80c33e3 100644 --- a/src/lib/ldb/staff/staff-ldb.svelte +++ b/src/lib/ldb/staff/staff-ldb.svelte @@ -1,38 +1,36 @@ {#await fetchStaffLdb(station)} Loading -{:then data} +{:then data} Loaded {JSON.stringify(data)} {:catch} Error Loading diff --git a/src/lib/scripts/upstream.ts b/src/lib/scripts/upstream.ts index 8b02fa5..022ce6b 100644 --- a/src/lib/scripts/upstream.ts +++ b/src/lib/scripts/upstream.ts @@ -1,9 +1,9 @@ -import { dev } from "$app/environment"; +import { dev } from '$app/environment'; export function getApiUrl() { - if (dev) { - console.info("DEVMODE active, using testing URL") - return "https://testing.owlboard.info" - } - return "https://owlboard.info" -} \ No newline at end of file + if (dev) { + console.info('DEVMODE active, using testing URL'); + return 'https://testing.owlboard.info'; + } + return 'https://owlboard.info'; +}