Issue calling a second API for Twitch project [SOLVED]

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

Which variable is coming up as undefined?

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.

1 Like