Skip to content

Commit

Permalink
Fix adding discussions for gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
uwej711 authored and mc1arke committed Apr 19, 2020
1 parent 7ed78c2 commit c1decf6
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ public void decorateQualityGateStatus() {
urlEncode("position[base_sha]") + "=d6a420d043dfe85e7c240fd136fc6e197998b10a&" +
urlEncode("position[start_sha]") + "=d6a420d043dfe85e7c240fd136fc6e197998b10a&" +
urlEncode("position[head_sha]") + "=" + commitSHA + "&" +
urlEncode("position[old_path]") + "=" + urlEncode(filePath) + "&" +urlEncode("position[new_path]") + "=" + urlEncode(filePath) + "&" +
urlEncode("position[old_path]") + "=" + urlEncode(filePath) + "&" +
urlEncode("position[new_path]") + "=" + urlEncode(filePath) + "&" +
urlEncode("position[new_line]") + "=" + lineNumber + "&" +
urlEncode("position[position_type]") + "=text"))
.willReturn(created()));
Expand All @@ -183,4 +184,4 @@ private static String urlEncode(String value) {
throw new Error("No support for UTF-8!", e);
}
}
}
}

0 comments on commit c1decf6

Please sign in to comment.