Skip to content

Commit d6ad221

Browse files
authored
Update Projects.php
1 parent 43cd607 commit d6ad221

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
@@ -501,7 +501,7 @@ public function removeLabel($project_id, $name)
501501
*/
502502
public function fork($project_id, array $params = array())
503503
{
504-
return $this->post('projects/'.$this->encodePath($project_id).'/fork', $params);
504+
return $this->post($this->getProjectPath($project_id, 'fork'), $params);
505505
}
506506

507507
/**

0 commit comments

Comments
 (0)