Skip to content

Commit cac2267

Browse files
authored
Merge pull request #671 from gitlab4j/issue-612
fix: #612 Update path for delete commit discussion note
2 parents 750213b + d4b7624 commit cac2267

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@
3535
<name>Greg Messner</name>
3636
<email>[email protected]</email>
3737
</developer>
38+
<developer>
39+
<id>gdesaintmartinlacaze</id>
40+
<name>Gautier de Saint Martin Lacaze</name>
41+
<email>[email protected]</email>
42+
</developer>
3843
</developers>
3944

4045
<properties>
@@ -56,7 +61,7 @@
5661
<systemRules.version>1.19.0</systemRules.version>
5762

5863
<changelog-lib.version>1.59</changelog-lib.version>
59-
<bnd.version>5.0.1</bnd.version>
64+
<bnd.version>5.3.0</bnd.version>
6065

6166
<gitlab.version>12.9.2-ce.0</gitlab.version>
6267
<gitlab.autoremove-container>true</gitlab.autoremove-container>

src/main/java/org/gitlab4j/api/DiscussionsApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ public Note resolveCommitDiscussionNote(Object projectIdOrPath,
603603
public void deleteCommitDiscussionNote(Object projectIdOrPath, String commitSha,
604604
String discussionId, Integer noteId) throws GitLabApiException {
605605
delete(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPath),
606-
"repository", commitSha, "discussions", discussionId, "notes", noteId);
606+
"repository", "commits", commitSha, "discussions", discussionId, "notes", noteId);
607607
}
608608

609609
/**

0 commit comments

Comments
 (0)