Skip to content

Commit e4f130e

Browse files
committed
Fixed tree path
1 parent fa78ceb commit e4f130e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Gitlab/Api/Repositories.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function commits($project_id, $page = 0, $per_page = self::PER_PAGE, $ref
3131

3232
public function tree($project_id, array $params = array())
3333
{
34-
return $this->get('projects/'.urlencode($project_id).'/tree', $params);
34+
return $this->get('projects/'.urlencode($project_id).'/repository/tree', $params);
3535
}
3636

3737
public function protectBranch($project_id, $branch_id)

0 commit comments

Comments
 (0)