Skip to content
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

Add method to create organization webhook #154

Merged
merged 1 commit into from
Nov 22, 2021

Conversation

mkroman
Copy link
Contributor

@mkroman mkroman commented Nov 17, 2021

It might be more convenient to be able to do:

let octocrab = octocrab::Octocrab::default();
octocrab.org("some-org").hooks().create().await?;

in the future, but for now I think it's overkill since there's 2 types of hooks which would lead to a lot of duplicate code.

@XAMPPRocky
Copy link
Owner

Thank you for your PR!

@XAMPPRocky XAMPPRocky merged commit c7c2a1b into XAMPPRocky:master Nov 22, 2021
@mkroman mkroman deleted the org-hooks branch November 23, 2021 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants