diff --git a/src/node/data.js b/src/node/data.js index 526e9ba..221f7cc 100644 --- a/src/node/data.js +++ b/src/node/data.js @@ -21,7 +21,7 @@ export async function* pollPublicData() { const publicDataURL = 'https://woke.net/api/streams.json' const refreshInterval = 5 * 1000 while (true) { - let data + let data = [] try { const resp = await fetch(publicDataURL) data = await resp.json()