Comments (7)
Hi,
for "closing Issues", you could use Issues part of GitHub API.
Part of githubApi.issues.edit http://ajaxorg.github.com/node-github/#issues.prototype.edit
Provide all the params needed and set state "closed", and that's it.
Of you go.
from octokit.js.
@kuba-kubula Hi,
this doesn't seem to be working.
from octokit.js.
@nnarhinen do you get any error messages or data back from GH?
from octokit.js.
No errors, just the normal edit response.. the state just doesn't change.
Maybe it's a problem with github api. .
On 6 Nov 2012 00:07, "Mike de Boer" [email protected] wrote:
from octokit.js.
Could you attach the console output that you get when instantiating node-github like
var github = new Github({
version: "3.0.0",
debug: true
});
?
Only if it's not too much trouble, I can always go and set up a testcase myself.
from octokit.js.
I have trouble with this too. I've traced it down to 'github/index.js', line 778. It seems that the "PATCH" method isn't supported. So it dies on the vine without any error returned. (Pretty bad of Node, if you ask me.)
from octokit.js.
github.issues.edit({ ... });
Pass in state: closed
https://mikedeboer.github.io/node-github/#api-issues-edit
from octokit.js.
Related Issues (20)
- [BUG]: Can't call the list users endpoint using an App instance HOT 2
- [BUG]: rest.packages.listPackagesForOrganization return 400 Invalid argument with package type 'container' HOT 2
- Any auth flow currently supported for SPA without backend? HOT 3
- [BUG]: Error authenticating API requests from Octokit JS client when using private key in Azure key vault HOT 4
- Web3 HOT 1
- [BUG]: Cannot create new commit with Octokit HOT 3
- Merge HOT 1
- [DOCS(readme)]: Missing Required Parameter `issue_number` in `issues.createComment ` HOT 2
- [BUG]: No Significant Difference with @octokit Submodules HOT 6
- [BUG]: Unable to get latest deployment for a workflow deployed to an environment HOT 1
- [FEAT]: notifications: filter done/undone HOT 2
- [BUG]: {"error":"Cannot read properties of undefined (reading 'getWebFlowAuthorizationUrl')"} HOT 1
- [BUG]: [@octokit/request-error] `error.code` is deprecated, use `error.status`. HOT 2
- [BUG]: CJS Loader "Unexpected token '{'" HOT 3
- [FEAT]: Do we have the CJS version? If not, are we considering supporting CJS? HOT 5
- Issues with Search REST API: Special Characters Handling HOT 1
- [BUG]: Octokit 4 can't be `import`ed or `require`d HOT 6
- [BUG]: Octokit v4 types HOT 8
- [BUG]: [Nestjs] [ERR_REQUIRE_ESM]: require() of ES Module not supported HOT 3
- @octokit/types is no longer available after 4.0.0 HOT 13
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 octokit.js.