[BUG]: response incorrectly normalized: namespace key replaced with indexed keys #560
Open
1 task done
Labels
hacktoberfest
Issues for participation in Hacktoberfest
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Bug
Something isn't working as documented
What happened?
Using the provided
iterator
function for theoctokit.rest.repos.getAllEnvironments
endpoint results in a normalized response where theenvironments
key underresponse.data
is replaced by the environments keyed by their index. This causes the response object to no longer match the response type.I expected the response to not need normalization and simply return just like the typehinting was telling me.
Versions
Octokit/rest v20.0.1, Deno v1.36.4
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: