Unverified Commit d4b7624e authored by Gautier de Saint Martin Lacaze's avatar Gautier de Saint Martin Lacaze
Browse files

fix: #612 Update path for delete commit discussion note

parent 750213b9
......@@ -35,6 +35,11 @@
<name>Greg Messner</name>
<email>greg@messners.com</email>
</developer>
<developer>
<id>gdesaintmartinlacaze</id>
<name>Gautier de Saint Martin Lacaze</name>
<email>gautier@jabby-techs.fr</email>
</developer>
</developers>
<properties>
......@@ -56,7 +61,7 @@
<systemRules.version>1.19.0</systemRules.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.autoremove-container>true</gitlab.autoremove-container>
......
......@@ -603,7 +603,7 @@ public class DiscussionsApi extends AbstractApi {
public void deleteCommitDiscussionNote(Object projectIdOrPath, String commitSha,
String discussionId, Integer noteId) throws GitLabApiException {
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