summaryrefslogtreecommitdiffstats
path: root/vendor/code.gitea.io/sdk/gitea/issue_comment.go
diff options
context:
space:
mode:
authorAntoine GIRARD <sapk@users.noreply.github.com>2017-04-16 14:51:04 +0200
committerBo-Yi Wu <appleboy.tw@gmail.com>2017-04-16 20:51:04 +0800
commitcf91cfb993bed1a412590305f594db81dc83bca8 (patch)
treeacad8c7466cce2097aaec42049f07674fa908124 /vendor/code.gitea.io/sdk/gitea/issue_comment.go
parent237270ef50ba00b3007ea10c2302bc240188e092 (diff)
downloadgitea-cf91cfb993bed1a412590305f594db81dc83bca8.tar.gz
gitea-cf91cfb993bed1a412590305f594db81dc83bca8.zip
Migrate WatchInfo struct to api (#1492)
* Remove WatchInfo and link to api struct * Add vendor temporary update * Return to gitea vendor source
Diffstat (limited to 'vendor/code.gitea.io/sdk/gitea/issue_comment.go')
-rw-r--r--vendor/code.gitea.io/sdk/gitea/issue_comment.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/code.gitea.io/sdk/gitea/issue_comment.go b/vendor/code.gitea.io/sdk/gitea/issue_comment.go
index c6978f42da..0977f98a4a 100644
--- a/vendor/code.gitea.io/sdk/gitea/issue_comment.go
+++ b/vendor/code.gitea.io/sdk/gitea/issue_comment.go
@@ -47,7 +47,7 @@ func (c *Client) CreateIssueComment(owner, repo string, index int64, opt CreateI
return nil, err
}
comment := new(Comment)
- return comment, c.getParsedResponse("POST", fmt.Sprintf("/repos/:%s/:%s/issues/%d/comments", owner, repo, index), jsonHeader, bytes.NewReader(body), comment)
+ return comment, c.getParsedResponse("POST", fmt.Sprintf("/repos/%s/%s/issues/%d/comments", owner, repo, index), jsonHeader, bytes.NewReader(body), comment)
}
// EditIssueCommentOption is option when editing an issue comment.