From e4413acea5c42b8475cd379cf050d01a631ece48 Mon Sep 17 00:00:00 2001 From: Fulmine Date: Wed, 2 Mar 2022 16:49:41 +0100 Subject: [PATCH] fix: public page did not actually GET the system --- src/pages/profiles/Main.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/profiles/Main.svelte b/src/pages/profiles/Main.svelte index b31daf86..8caafba3 100644 --- a/src/pages/profiles/Main.svelte +++ b/src/pages/profiles/Main.svelte @@ -31,7 +31,7 @@ async function getSystem() { try { - let res: System = await api().systems(id); + let res: System = await api().systems(id).get(); user = res; title = user.name ? user.name : "system"; } catch (error) {