File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3
3
namespace Github \Api ;
4
4
5
5
/**
6
- * @link https://developer.github.com/early-access /integrations/authentication /
6
+ * @link https://developer.github.com/v3 /integrations/
7
7
* @author Nils Adermann <[email protected] >
8
8
*/
9
- class Installations extends AbstractApi
9
+ class Integrations extends AbstractApi
10
10
{
11
11
/**
12
12
* Create an access token for an installation
@@ -17,11 +17,11 @@ class Installations extends AbstractApi
17
17
*
18
18
* @return array token and token metadata
19
19
*/
20
- public function createAccessToken ($ installationId , $ userId = null )
20
+ public function createInstallationToken ($ installationId , $ userId = null )
21
21
{
22
22
$ parameters = array ();
23
23
if ($ userId ) {
24
- $ paramters ['user_id ' ] = $ userId ;
24
+ $ parameters ['user_id ' ] = $ userId ;
25
25
}
26
26
27
27
return $ this ->post ('/installations/ ' .rawurlencode ($ installationId ).'/access_tokens ' , $ parameters );
You can’t perform that action at this time.
0 commit comments