Skip to content

Commit

Permalink
LastestReleases->LatestRelease
Browse files Browse the repository at this point in the history
  • Loading branch information
poisonous-milk committed Dec 7, 2015
1 parent dbe5989 commit e7583c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Octokit/Clients/ReleasesClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public Task<Release> GetLatest(string owner, string name)
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
Ensure.ArgumentNotNullOrEmptyString(name, "name");

var endpoint = ApiUrls.LatestReleases(owner, name);
var endpoint = ApiUrls.LatestRelease(owner, name);
return ApiConnection.Get<Release>(endpoint);
}

Expand Down
2 changes: 1 addition & 1 deletion Octokit/Helpers/ApiUrls.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public static Uri Releases(string owner, string name, int id)
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <returns></returns>
public static Uri LatestReleases(string owner, string name)
public static Uri LatestRelease(string owner, string name)
{
return "repos/{0}/{1}/releases/latest".FormatUri(owner, name);
}
Expand Down

0 comments on commit e7583c8

Please sign in to comment.