Comments (3)
Do you wish to submit a PR to support both return codes?
from go-github.
This behavior is not documented. If I were to submit this PR, would we want to check for either code, or to do a match on what type of token was used and the expected code?
from go-github.
Over the history of this client library, we have often had to adapt to undocumented behavior from the GitHub v3 API.
It seems to me that the simplest and probably most flexible and robust way to handle this would be to accept either status code without any other restrictions.
from go-github.
Related Issues (20)
- ListIDPGroupsInOrganization is missing the filter parameter
- Bug: Multi-select Custom Properties are not supported HOT 7
- For Google
- feature: Set the callback URL at app creation time HOT 2
- adding the support to custom_property_values webhooks HOT 3
- [v1.23] Testing the new `iter` package with `gh-iter` HOT 2
- Add support for GitHub App Manifest flow on Organization, not User HOT 6
- Add support for new Code Security Configurations API HOT 1
- Implementing Personal Access Tokens API HOT 5
- Missing fields in structure HOT 6
- json: cannot unmarshal array into Go value of type github.Repository HOT 1
- Revert mistakenly added fields in DraftReviewComment HOT 1
- A callback to go with SleepUntilPrimaryRateLimitResetWhenRateLimited? HOT 7
- Add support for merge queue parameters for organization and repository ruleset HOT 2
- Unable to create Custom Repository Role without permissions HOT 6
- Unable to Parse Private Key HOT 6
- Error when parsing repository that uses multiselect custom-properties HOT 5
- Adding beta feature for rulesets HOT 1
- Idea: auto fix for fmt and codegen HOT 1
- GetHasWiki returns true/false based only on the repository setting HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-github.