You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to get a streamer by id, I get an error that id does not exist in principle. This is understandable, because the "getUsers" function returns two objects, not in an array, but with the same structure. Only the second object has an empty data: []. The funny thing is that this happens selectively. With some streamers everything is fine, with others not.
Can you explain to me why it works this way?
Code: https://sourceb.in/34sgxXKmTu (Removed some private data, like API KEY)
You should be interested in the function "getTwitchStreamerIdFromURL"
When I try to get a streamer by
id
, I get an error that id does not exist in principle. This is understandable, because the "getUsers" function returns two objects, not in an array, but with the same structure. Only the second object has an empty data: []. The funny thing is that this happens selectively. With some streamers everything is fine, with others not.Can you explain to me why it works this way?
Code: https://sourceb.in/34sgxXKmTu (Removed some private data, like API KEY)
You should be interested in the function "getTwitchStreamerIdFromURL"
Sample of what I get: https://sourceb.in/a7FYkWWL2W
I believe this is a library and function issue in particular. But if you have any other ideas, or ways to fix this, I'm listening carefully.
The text was updated successfully, but these errors were encountered: