aboutsummaryrefslogtreecommitdiff
path: root/src/routes/hololive
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/hololive')
-rw-r--r--src/routes/hololive/+page.svelte4
1 files changed, 2 insertions, 2 deletions
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();
});