Skip to content

Commit 2d6cfb7

Browse files
committed
add params id fork
1 parent f23e88e commit 2d6cfb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Gitlab/Api/Projects.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,9 +498,9 @@ public function removeLabel($project_id, $name)
498498
* @param int $project_id
499499
* @return mixed
500500
*/
501-
public function fork($project_id)
501+
public function fork($project_id, array $params)
502502
{
503-
return $this->post('projects/'.$this->encodePath($project_id).'/fork');
503+
return $this->post('projects/'.$this->encodePath($project_id).'/fork', $params);
504504
}
505505

506506
/**

0 commit comments

Comments
 (0)