diff --git a/followList.js b/followList.js index ea4d5bd..cfdfad8 100644 --- a/followList.js +++ b/followList.js @@ -18,6 +18,8 @@ async function getUserInfo(userId) { } async function getUserFollowedStreams() { + if (!userTwitchId) { return;} + const response = await fetch(`https://api.twitch.tv/helix/streams/followed?user_id=${userTwitchId}`, { method: 'GET', headers: {