-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested arrays in API responses #74
Labels
bug
Something isn't working
Comments
What version are you running on? |
I use AUR package that I package myself, version |
Got it; let me get a fix pushed into main. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When performing any API request,
data
array in returned body contains unnecessary array inside with the content, which I believe shouldn't be a case.Expected behavior is to have the response looking as close to the official API response, with just one array of objects.
Example (tcurl is an alias for
curl <headers with my credentials> $@
):I'd want the
data
array in response of twitch-cli, to look just likedata
array in the API call in the example shown above.The text was updated successfully, but these errors were encountered: