From 7e2d5241bdf74e3943622d7c86d6735ed1fd78c7 Mon Sep 17 00:00:00 2001 From: Adam Neville Date: Mon, 2 Feb 2015 14:27:36 -0500 Subject: [PATCH] Fixed Team Member Endpoint Updated TeamMember api endpoint to route to latest team github api endpoint (old endpoint was deprecated) --- Octokit/Helpers/ApiUrls.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Octokit/Helpers/ApiUrls.cs b/Octokit/Helpers/ApiUrls.cs index 51c5666105..41c14d6ba6 100644 --- a/Octokit/Helpers/ApiUrls.cs +++ b/Octokit/Helpers/ApiUrls.cs @@ -1084,7 +1084,7 @@ public static Uri Teams(int id) /// The user login. public static Uri TeamMember(int id, string login) { - return "teams/{0}/members/{1}".FormatUri(id, login); + return "teams/{0}/memberships/{1}".FormatUri(id, login); } ///