GithubHelp home page GithubHelp logo

Close Issue about octokit.js HOT 7 CLOSED

bazjapan avatar bazjapan commented on May 18, 2024
Close Issue

from octokit.js.

Comments (7)

kuba-kubula avatar kuba-kubula commented on May 18, 2024

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.

nnarhinen avatar nnarhinen commented on May 18, 2024

@kuba-kubula Hi,
this doesn't seem to be working.

from octokit.js.

mikedeboer avatar mikedeboer commented on May 18, 2024

@nnarhinen do you get any error messages or data back from GH?

from octokit.js.

nnarhinen avatar nnarhinen commented on May 18, 2024

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.

mikedeboer avatar mikedeboer commented on May 18, 2024

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.

crash83k avatar crash83k commented on May 18, 2024

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.

kaizensoze avatar kaizensoze commented on May 18, 2024

github.issues.edit({ ... }); Pass in state: closed

https://mikedeboer.github.io/node-github/#api-issues-edit

from octokit.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.