We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43cd607 commit d6ad221Copy full SHA for d6ad221
lib/Gitlab/Api/Projects.php
@@ -501,7 +501,7 @@ public function removeLabel($project_id, $name)
501
*/
502
public function fork($project_id, array $params = array())
503
{
504
- return $this->post('projects/'.$this->encodePath($project_id).'/fork', $params);
+ return $this->post($this->getProjectPath($project_id, 'fork'), $params);
505
}
506
507
/**
0 commit comments