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

GHTeam.add does not due to GHTeam.Role(s) been capitalized #489

Closed
arykov opened this issue Jan 31, 2019 · 1 comment
Closed

GHTeam.add does not due to GHTeam.Role(s) been capitalized #489

arykov opened this issue Jan 31, 2019 · 1 comment

Comments

@arykov
Copy link
Contributor

arykov commented Jan 31, 2019

When trying to add a MAINTAINER or MEMBER to the team in GHE 2.16.1 org.kohsuke.github.HttpException: {"message":"Invalid request.\n\nMEMBER is not a member of ["member", "maintainer"].","documentation_url":"https://developer.github.com/enterprise/2.16/v3/teams/members/#add-or-update-team-membership"} is thrown. It appears to be capitalization problem.

@arykov
Copy link
Contributor Author

arykov commented Feb 1, 2019

Created pull request #490 with the fix

@arykov arykov closed this as completed Feb 1, 2019
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

No branches or pull requests

1 participant