Skip to content

Commit d8d4daf

Browse files
authored
Merge pull request KnpLabs#460 from martinssipenko/master
Fix params not being passed through
2 parents f79fb97 + 1cf4940 commit d8d4daf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Github/Api/Organization/Teams.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function addRepository($team, $username, $repository, $params = array())
8989
$params['permission'] = 'pull';
9090
}
9191

92-
return $this->put('/teams/'.rawurlencode($team).'/repos/'.rawurlencode($username).'/'.rawurlencode($repository));
92+
return $this->put('/teams/'.rawurlencode($team).'/repos/'.rawurlencode($username).'/'.rawurlencode($repository), $params);
9393
}
9494

9595
public function removeRepository($team, $username, $repository)

0 commit comments

Comments
 (0)