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 Jun 7, 2020
1 parent 365f4f0 commit 35c40fe
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,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 @@ -178,4 +179,4 @@ private static String urlEncode(String value) {
throw new Error("No support for UTF-8!", e);
}
}
}
}

0 comments on commit 35c40fe

Please sign in to comment.