Skip to content

Commit 6916263

Browse files
authored
Merge pull request #697 from TVke/fix-depricated-api
Replace use of depricated api to the correct one
2 parents bf264fe + f1be675 commit 6916263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/security.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,6 @@ $jwt = (new Builder)
7171

7272
$github->authenticate($jwt, null, Github\Client::AUTH_JWT);
7373

74-
$token = $github->api('integrations')->createInstallationToken($installationId);
74+
$token = $github->api('apps')->createInstallationToken($installationId);
7575
$github->authenticate($token['token'], null, Github\Client::AUTH_HTTP_TOKEN);
7676
```

0 commit comments

Comments
 (0)