Boolean from response should include all successful 2XX response codes#1791
Boolean from response should include all successful 2XX response codes#1791PatBanks wants to merge 3 commits intooctokit:mainfrom
Conversation
|
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with |
even if the response is a 205, it would still signify the server successfully completed the request... so unexpected reponse codes maybe could be a redirect instead.
|
It returns HTTP 200 with a body, so it's not a boolean anymore. It should return the body as well. |
I agree, but is that a breaking change to octokit that would require a major bump? I assumed so. I could reduce this down to just adding the 200 🤷 or if that's wrong I can just close this |
Resolves #1790
Before the change?
After the change?
Pull request checklist
Does this introduce a breaking change?