Skip to content

Commit

Permalink
fixed backend path for CreateIssueComment (gogs#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
Funzinator authored and lunny committed Mar 13, 2017
1 parent 9ceaabb commit 80778ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitea/issue_comment.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 80778ed

Please sign in to comment.