Commit b0ee3b87 authored by Andrew Chin's avatar Andrew Chin
Browse files

gitlab: Add modify_merge_request_note function

parent 939cfbf5
......@@ -1576,6 +1576,24 @@ impl Gitlab {
self.put_with_param(path, &[("body", content.as_ref())])
/// Edit a note on a merge request.
pub fn modify_merge_request_note<C>(
project: ProjectId,
merge_request: MergeRequestInternalId,
note: NoteId,
content: C,
) -> GitlabResult<Note>
C: AsRef<str>,
let path = &format!(
project, merge_request, note,
self.put_with_param(path, &[("body", content.as_ref())])
/// Get issues closed by a merge request.
pub fn get_issues_closed_by_merge_request<I, K, V>(
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