diff options
| author | Fuwn <[email protected]> | 2024-02-17 21:04:59 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-02-17 21:04:59 -0800 |
| commit | f1a09f3348cf4dbc7a0fb6116f9f41fcde372f4c (patch) | |
| tree | be69710d2dbf59badb9be88a1e6dce3c710d6525 /src/routes/hololive | |
| parent | feat(events): avatar for all events (diff) | |
| download | due.moe-f1a09f3348cf4dbc7a0fb6116f9f41fcde372f4c.tar.xz due.moe-f1a09f3348cf4dbc7a0fb6116f9f41fcde372f4c.zip | |
feat(hololive): move pinned to preferences
Diffstat (limited to 'src/routes/hololive')
| -rw-r--r-- | src/routes/hololive/+page.svelte | 4 |
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(); }); |