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
71c42940
Unverified
Commit
71c42940
authored
Sep 06, 2021
by
Gautier de Saint Martin Lacaze
Committed by
GitHub
Sep 06, 2021
Browse files
Merge pull request #742 from dam0vm3nt/dam0vm3nt-patch-1
Fix delete discussion API
parents
5158c88d
376adcfd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/DiscussionsApi.java
View file @
71c42940
...
...
@@ -368,7 +368,7 @@ public class DiscussionsApi extends AbstractApi {
public
void
deleteMergeRequestDiscussionNote
(
Object
projectIdOrPath
,
Integer
mergeRequestIid
,
String
discussionId
,
Integer
noteId
)
throws
GitLabApiException
{
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 {
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