Closed torunar closed 8 years ago
The issue probably occurs because the deprecated members API is used in
getTeamMember()
addTeamMember()
removeTeamMember()
Accordingly to https://developer.github.com/v3/orgs/teams/, /memberships/ should be used instead of /members/ and response codes are different.
/memberships/
/members/
Thank you for your comment. Would you be able to change it, test it and pull request it?
@tan-tan-kanarek, sure: https://github.com/tan-tan-kanarek/github-php-client/pull/104
The issue probably occurs because the deprecated members API is used in
getTeamMember()
: https://github.com/tan-tan-kanarek/github-php-client/blob/master/client/services/GitHubOrgsTeams.php#L90addTeamMember()
: https://github.com/tan-tan-kanarek/github-php-client/blob/master/client/services/GitHubOrgsTeams.php#L98removeTeamMember()
: https://github.com/tan-tan-kanarek/github-php-client/blob/master/client/services/GitHubOrgsTeams.php#L117Accordingly to https://developer.github.com/v3/orgs/teams/,
/memberships/
should be used instead of/members/
and response codes are different.