-
Notifications
You must be signed in to change notification settings - Fork 456
"cancelInvitation" not found #155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The endpoint was added upstream via octokit/plugin-rest-endpoint-methods.js#320 in January (v4.6.0) 😞 |
Found the problem: Octokit used to expose REST endpoints directly, like |
This issue is stale because it has been open for 60 days with no activity. Remove the "Stale" label or comment on the issue, or it will be closed in 7 days. |
Is there anything I can do or test so that we can continue this issue? |
👋 Hey @Timmmy-nlb, I've just released https://github.com/actions/github-script/releases/tag/v5.0.0 which includes the latest version of Octokit with this API. Note you'll need to update your script to use Feel free to reopen this issue if you're still seeing issues. |
Describe the bug
A method, which should be available according to the documentation of octokit, does not exist.
I get error
Unhandled error: TypeError: github.orgs.cancelInvitation is not a function
.Other like
github.orgs.listPendingInvitations
works as expected.To Reproduce
A call from
console.log('Test: ', github.orgs);
shows that the method is really missing.Expected behavior
That the method can be used, as the other.
Desktop (please complete the following information):
Additional context
coming from this help ticket octokit/plugin-rest-endpoint-methods.js#403
The text was updated successfully, but these errors were encountered: