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
d4b7624e
Unverified
Commit
d4b7624e
authored
Mar 17, 2021
by
Gautier de Saint Martin Lacaze
Browse files
fix: #612 Update path for delete commit discussion note
parent
750213b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
pom.xml
View file @
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>
...
...
src/main/java/org/gitlab4j/api/DiscussionsApi.java
View file @
d4b7624e
...
@@ -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
);
}
}
/**
/**
...
...
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