Closed CyberSeppi closed 10 months ago
@CyberSeppi can you use plugin-enterprise-server.js or plugin-enterprise-cloud.js depending on which GitHub Enterprise you use?
Closing this as the question has been answered. For additional questions, please open new issue(s).
What happened?
I´m working for a bigger company and we have the enterprise version available. We´ve created an organization and now I want to create Repositories with the octokit API client.
Directly with Postman it works like that (it works perfectly)
Then I´ve tried that with octokit with that method
Params are:
I can´t set the visibility to "internal" like in the direct call, because octokit only accepts "private" or "public" here.
I create the client object with
How can I create a internal repository in my organization, then ?
Thanks and Greetings,
JP
Versions
"@octokit/plugin-paginate-rest": "^7.1.2", "@octokit/rest": "^19.0.13",
node --version v16.14.0
Relevant log output
Code of Conduct