Unverified Commit 376adcfd authored by Vittorio Ballestra's avatar Vittorio Ballestra Committed by GitHub
Browse files
parent 3d327e39
...@@ -368,7 +368,7 @@ public class DiscussionsApi extends AbstractApi { ...@@ -368,7 +368,7 @@ public class DiscussionsApi extends AbstractApi {
public void deleteMergeRequestDiscussionNote(Object projectIdOrPath, Integer mergeRequestIid, public void deleteMergeRequestDiscussionNote(Object projectIdOrPath, Integer mergeRequestIid,
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),
"merge_requests", mergeRequestIid, "discussions", noteId); "merge_requests", mergeRequestIid, "discussions", discussionId, "notes", noteId);
} }
/** /**
...@@ -754,4 +754,4 @@ public class DiscussionsApi extends AbstractApi { ...@@ -754,4 +754,4 @@ public class DiscussionsApi extends AbstractApi {
delete(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPath), "issues", issueIid, "discussions", discussionId, "notes", noteId); delete(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPath), "issues", issueIid, "discussions", discussionId, "notes", noteId);
} }
} }
\ No newline at end of file
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