Skip to content

Commit 55426db

Browse files
authored
Update Projects.php
invalid link for pipeline creation
1 parent f139e4e commit 55426db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Gitlab/Api/Projects.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ public function pipeline($project_id, $pipeline_id)
214214
*/
215215
public function createPipeline($project_id, $commit_ref)
216216
{
217-
return $this->post($this->getProjectPath($project_id, 'pipelines'), array(
217+
return $this->post($this->getProjectPath($project_id, 'pipeline'), array(
218218
'ref' => $commit_ref));
219219
}
220220

0 commit comments

Comments
 (0)