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 33namespace Github \Api ;
44
55/**
6- * @link https://developer.github.com/early-access /integrations/authentication /
6+ * @link https://developer.github.com/v3 /integrations/
77 * @author Nils Adermann <naderman@naderman.de>
88 */
9- class Installations extends AbstractApi
9+ class Integrations extends AbstractApi
1010{
1111 /**
1212 * Create an access token for an installation
@@ -17,11 +17,11 @@ class Installations extends AbstractApi
1717 *
1818 * @return array token and token metadata
1919 */
20- public function createAccessToken ($ installationId , $ userId = null )
20+ public function createInstallationToken ($ installationId , $ userId = null )
2121 {
2222 $ parameters = array ();
2323 if ($ userId ) {
24- $ paramters ['user_id ' ] = $ userId ;
24+ $ parameters ['user_id ' ] = $ userId ;
2525 }
2626
2727 return $ this ->post ('/installations/ ' .rawurlencode ($ installationId ).'/access_tokens ' , $ parameters );
You can’t perform that action at this time.
0 commit comments