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 65e9828 commit 30858c5Copy full SHA for 30858c5
lib/Github/Api/Organization/Teams.php
@@ -16,11 +16,6 @@ public function all($organization)
16
return $this->get('orgs/'.urlencode($organization).'/teams');
17
}
18
19
- public function show($organization, $team)
20
- {
21
- return $this->get('orgs/'.urlencode($organization).'/teams/'.urlencode($team));
22
- }
23
-
24
public function create($organization, array $params)
25
{
26
if (!isset($params['name'])) {
@@ -36,6 +31,11 @@ public function create($organization, array $params)
36
31
return $this->post('orgs/'.urlencode($organization).'/teams', $params);
37
32
38
33
34
+ public function show($team)
35
+ {
+ return $this->get('teams/'.urlencode($team));
+ }
+
39
public function update($team, array $params)
40
41
0 commit comments