forked from NYANDEV/forgejo
update code.gitea.io/sdk/gitea v0.13.1 -> v0.13.2 (#14497)
This commit is contained in:
parent
2595c70868
commit
8ff4f82e05
26 changed files with 151 additions and 77 deletions
2
vendor/code.gitea.io/sdk/gitea/issue_comment.go
generated
vendored
2
vendor/code.gitea.io/sdk/gitea/issue_comment.go
generated
vendored
|
@ -68,7 +68,7 @@ func (c *Client) ListRepoIssueComments(owner, repo string, opt ListIssueCommentO
|
|||
// GetIssueComment get a comment for a given repo by id.
|
||||
func (c *Client) GetIssueComment(owner, repo string, id int64) (*Comment, *Response, error) {
|
||||
comment := new(Comment)
|
||||
if err := c.CheckServerVersionConstraint(">=1.12.0"); err != nil {
|
||||
if err := c.checkServerVersionGreaterThanOrEqual(version1_12_0); err != nil {
|
||||
return comment, nil, err
|
||||
}
|
||||
resp, err := c.getParsedResponse("GET", fmt.Sprintf("/repos/%s/%s/issues/comments/%d", owner, repo, id), nil, nil, &comment)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue