Skip to content

Commit 59d08f2

Browse files
committed
Update AddReviewAtComment.java
1 parent a485c56 commit 59d08f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mr-changes-since-last-review/AddReviewAtComment.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
///usr/bin/env jbang "$0" "$@" ; exit $?
22

33
//DEPS info.picocli:picocli:4.6.3
4-
//DEPS org.gitlab4j:gitlab4j-api:5.4.0
4+
//DEPS org.gitlab4j:gitlab4j-api:6.0.0-rc.8
55
//JAVA 17
66

77
import java.io.FileInputStream;
@@ -61,7 +61,7 @@ public Integer call() throws Exception {
6161

6262
String body = "[" + user.getName() + "](" + user.getWebUrl() + ") reviewed the MR ([changes](" + mr.getWebUrl() + "/diffs?start_sha=" + mr.getSha() + ") since then)";
6363
gitLabApi.getNotesApi()
64-
.createMergeRequestNote(project, mrId, body);
64+
.createMergeRequestNote(project, mrId, body, null, null);
6565

6666
System.out.println("Comment added on " + mr.getWebUrl());
6767
}

0 commit comments

Comments
 (0)