update sdk to latest (#6903)

This commit is contained in:
techknowlogick
2019-05-10 16:49:29 -04:00
committed by GitHub
parent d64a646c0a
commit 1dc401635b
8 changed files with 82 additions and 21 deletions

View File

@@ -50,5 +50,5 @@ type Commit struct {
// GetSingleCommit returns a single commit
func (c *Client) GetSingleCommit(user, repo, commitID string) (*Commit, error) {
commit := new(Commit)
return commit, c.getParsedResponse("GET", fmt.Sprintf("/repos/%s/%s/commits/%s", user, repo, commitID), nil, nil, &commit)
return commit, c.getParsedResponse("GET", fmt.Sprintf("/repos/%s/%s/git/commits/%s", user, repo, commitID), nil, nil, &commit)
}