Commit dac8d3f3 authored by Tim Olshansky's avatar Tim Olshansky

Merge pull request #106 from CyrilDeverson/master

post 'line_type' parameter to gitlab when creating a commit comment
parents 465c63b7 e2467f9c
......@@ -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