-
Notifications
You must be signed in to change notification settings - Fork 21
[BUG] getUsers is naughty. #43
Copy link
Copy link
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels