Commit e2467f9c authored by Cyril Deverson's avatar Cyril Deverson

post 'line_type' parameter to gitlab when creating a commit comment

parent 465c63b7
......@@ -1687,7 +1687,8 @@ public class GitlabAPI {
.appendIf("sha", sha)
.appendIf("note", note)
.appendIf("path", path)
.appendIf("line", line);
.appendIf("line", line)
.appendIf("line_type", line_type);
String tailUrl = GitlabProject.URL + "/" + sanitizeProjectId(projectId) + "/repository/commits/" + sha + CommitComment.URL + query.toString();
return dispatch().to(tailUrl, CommitComment.class);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment