Skip to content

Commit 3248628

Browse files
authored
Merge pull request #170 from alfredbez/master
fixed wrong path in addNote method
2 parents b1d2e99 + 3afe144 commit 3248628

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Gitlab/Api/MergeRequests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function showNotes($project_id, $mr_id, $page = 1, $per_page = self::PER_
161161
*/
162162
public function addNote($project_id, $mr_id, $note)
163163
{
164-
return $this->post($this->getProjectPath($project_id, 'merge_request/'.$this->encodePath($mr_id).'/notes'), array(
164+
return $this->post($this->getProjectPath($project_id, 'merge_requests/'.$this->encodePath($mr_id).'/notes'), array(
165165
'body' => $note
166166
));
167167
}

0 commit comments

Comments
 (0)