Skip to content

Commit 91ec54b

Browse files
committed
Merge pull request #105 from jonpugh/patch-1
Adding "teams" to the $client->api() function
2 parents b213498 + 85f1be5 commit 91ec54b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/Github/Client.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@ public function api($name)
124124
$api = new Api\Repo($this);
125125
break;
126126

127+
case 'team':
128+
case 'teams':
129+
$api = new Api\Organization\Teams($this);
130+
break;
131+
127132
case 'user':
128133
case 'users':
129134
$api = new Api\User($this);

0 commit comments

Comments
 (0)