Skip to content

Commit

Permalink
Fixed Team Member Endpoint
Browse files Browse the repository at this point in the history
Updated TeamMember api endpoint to route to latest team github api
endpoint (old endpoint was deprecated)
  • Loading branch information
aneville committed Feb 2, 2015
1 parent 6abcd77 commit 7e2d524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Octokit/Helpers/ApiUrls.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ public static Uri Teams(int id)
/// <param name="login">The user login.</param>
public static Uri TeamMember(int id, string login)
{
return "teams/{0}/members/{1}".FormatUri(id, login);
return "teams/{0}/memberships/{1}".FormatUri(id, login);
}

/// <summary>
Expand Down

0 comments on commit 7e2d524

Please sign in to comment.