forked from forgejo/forgejo
update sdk to latest (#6903)
This commit is contained in:
parent
d64a646c0a
commit
1dc401635b
8 changed files with 82 additions and 21 deletions
2
vendor/code.gitea.io/sdk/gitea/repo_commit.go
generated
vendored
2
vendor/code.gitea.io/sdk/gitea/repo_commit.go
generated
vendored
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue