Skip to content

Commit

Permalink
Update followList.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Fiszh authored Sep 28, 2024
1 parent 265ce2f commit 04348ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions followList.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 04348ac

Please sign in to comment.