From f1a09f3348cf4dbc7a0fb6116f9f41fcde372f4c Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sat, 17 Feb 2024 21:04:59 -0800 Subject: feat(hololive): move pinned to preferences --- src/routes/hololive/+page.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/routes/hololive/+page.svelte') diff --git a/src/routes/hololive/+page.svelte b/src/routes/hololive/+page.svelte index e5d31056..866fc105 100644 --- a/src/routes/hololive/+page.svelte +++ b/src/routes/hololive/+page.svelte @@ -29,10 +29,10 @@ }; if ($identity.id !== -2) { - fetch(root(`/api/configuration?id=${$identity.id}`)).then((response) => { + fetch(root(`/api/preferences?id=${$identity.id}`)).then((response) => { if (response.ok) response.json().then((data) => { - if (data && data.configuration) streams = data.pinned_hololive_streams; + if (data && data.pinned_hololive_streams) streams = data.pinned_hololive_streams; setSchedule(); }); -- cgit v1.2.3