[BUG]: No 'data' is returned when calling repos.addCollaborator
lukaszlenart opened this issue · 1 comments
lukaszlenart commented
What happened?
I'm using Ocktokit repos.addCollaborator
function to add a collaborator to a newly created repo and it was possible to extract url of the repo by accessing the data
structure from the response. Right now there is no data
field just these:
{
"status": 204,
"url": "https://api.github.com/repos/...",
"headers": {
..
}
Versions
"@octokit/rest": "^19.0.7"
"engines": {
"npm": "9.5.1",
"node": "v18.16.0"
}
Relevant log output
[ERROR] 09:09:49:022 [hr-github] TypeError : Cannot read properties of undefined (reading 'html_url')
### Code of Conduct
- [X] I agree to follow this project's Code of Conduct
github-actions commented
👋 Hey Friends, this issue has been automatically marked as stale
because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned
label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!