Issue calling a second API for Twitch project [SOLVED]

Issue calling a second API for Twitch project [SOLVED]
0.0 0

#1

I’m currently working on the twitch project and I’m trying to call a second request to show which twitch streamers accounts are closed. However whenever the second request is processed its showing as being undefined. What can I do to stop it returning undefined or am i going about this the wrong way?

https://github.com/j1mu5/twitchStreamer


#2

Which variable is coming up as undefined?


#3

Sorry managed to work this out myself in the end. Switched the second api call to use a variable instead of the array and that fixed the issue.