Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Example how to create repo under an organisation #240

Open
billbuilder opened this issue Jul 5, 2016 · 2 comments
Open

Example how to create repo under an organisation #240

billbuilder opened this issue Jul 5, 2016 · 2 comments

Comments

@billbuilder
Copy link

Dear All,

Is there a way to create a repository to an organisation where the user is admin?

Thank you in advance!

@billbuilder
Copy link
Author

github.client( token ).org( orgName ).repo()

does not work. It gives back

{ [Error: Not Found]
  message: 'Not Found',
  statusCode: 404,
  headers: 
   { server: 'GitHub ....

@pksunkara
Copy link
Owner

Can you check the createRepo option?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants