Unverified Commit cac22673 authored by Gautier de Saint Martin Lacaze's avatar Gautier de Saint Martin Lacaze Committed by GitHub
Browse files

Merge pull request #671 from gitlab4j/issue-612

fix: #612 Update path for delete commit discussion note
parents 750213b9 d4b7624e
...@@ -35,6 +35,11 @@ ...@@ -35,6 +35,11 @@
<name>Greg Messner</name> <name>Greg Messner</name>
<email>greg@messners.com</email> <email>greg@messners.com</email>
</developer> </developer>
<developer>
<id>gdesaintmartinlacaze</id>
<name>Gautier de Saint Martin Lacaze</name>
<email>gautier@jabby-techs.fr</email>
</developer>
</developers> </developers>
<properties> <properties>
...@@ -56,7 +61,7 @@ ...@@ -56,7 +61,7 @@
<systemRules.version>1.19.0</systemRules.version> <systemRules.version>1.19.0</systemRules.version>
<changelog-lib.version>1.59</changelog-lib.version> <changelog-lib.version>1.59</changelog-lib.version>
<bnd.version>5.0.1</bnd.version> <bnd.version>5.3.0</bnd.version>
<gitlab.version>12.9.2-ce.0</gitlab.version> <gitlab.version>12.9.2-ce.0</gitlab.version>
<gitlab.autoremove-container>true</gitlab.autoremove-container> <gitlab.autoremove-container>true</gitlab.autoremove-container>
......
...@@ -603,7 +603,7 @@ public class DiscussionsApi extends AbstractApi { ...@@ -603,7 +603,7 @@ public class DiscussionsApi extends AbstractApi {
public void deleteCommitDiscussionNote(Object projectIdOrPath, String commitSha, public void deleteCommitDiscussionNote(Object projectIdOrPath, String commitSha,
String discussionId, Integer noteId) throws GitLabApiException { String discussionId, Integer noteId) throws GitLabApiException {
delete(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPath), delete(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPath),
"repository", commitSha, "discussions", discussionId, "notes", noteId); "repository", "commits", commitSha, "discussions", discussionId, "notes", noteId);
} }
/** /**
......
Supports Markdown
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