Skip to content

Commit 1cf4940

Browse files
Fix params not being passed through
1 parent f79fb97 commit 1cf4940

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)