Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
376adcfd
Unverified
Commit
376adcfd
authored
Aug 16, 2021
by
Vittorio Ballestra
Committed by
GitHub
Aug 16, 2021
Browse files
Fix delete discussion API
https://docs.gitlab.com/ee/api/discussions.html#delete-a-merge-request-thread-note
parent
3d327e39
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/DiscussionsApi.java
View file @
376adcfd
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment