This commit is contained in:
parent
896a3b77d7
commit
958460db98
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@
|
||||||
if (!browser) return;
|
if (!browser) return;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const res = await fetch('/api/watch/rooms');
|
const res = await fetch('/api/watch/rooms', { credentials: 'include' });
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
const data = await res.json();
|
const data = await res.json();
|
||||||
watchRooms = data.rooms || [];
|
watchRooms = data.rooms || [];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue