Skip to content

Commit 78abaf8

Browse files
tadckam1guelpf
authored andcommitted
Add remove note from merge request
1 parent b285885 commit 78abaf8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

lib/Gitlab/Api/MergeRequests.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,18 @@ public function addNote($project_id, $mr_id, $note)
157157
));
158158
}
159159

160+
/**
161+
* @param int $projectId
162+
* @param int $mrId
163+
* @param int $noteId
164+
*
165+
* @return mixed
166+
*/
167+
public function removeNote($projectId, $mrId, $noteId)
168+
{
169+
return $this->delete($this->getProjectPath($projectId, 'merge_requests/'.$this->encodePath($mrId).'/notes/'.$this->encodePath($noteId)));
170+
}
171+
160172
/**
161173
* @param int $project_id
162174
* @param int $mr_id

0 commit comments

Comments
 (0)