Skip to content

Commit 80778ed

Browse files
Funzinatorlunny
authored andcommitted
fixed backend path for CreateIssueComment (gogs#46)
1 parent 9ceaabb commit 80778ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitea/issue_comment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func (c *Client) CreateIssueComment(owner, repo string, index int64, opt CreateI
4747
return nil, err
4848
}
4949
comment := new(Comment)
50-
return comment, c.getParsedResponse("POST", fmt.Sprintf("/repos/:%s/:%s/issues/%d/comments", owner, repo, index), jsonHeader, bytes.NewReader(body), comment)
50+
return comment, c.getParsedResponse("POST", fmt.Sprintf("/repos/%s/%s/issues/%d/comments", owner, repo, index), jsonHeader, bytes.NewReader(body), comment)
5151
}
5252

5353
// EditIssueCommentOption is option when editing an issue comment.

0 commit comments

Comments
 (0)