Skip to content

Commit 4aa7a11

Browse files
Documentation: Syntax error in Github.create #224
1 parent bcd052d commit 4aa7a11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ To authenticate as a GitHub App, you must provide a private key and the App ID,
4545
final GitHubClient githubClient =
4646
GitHubClient.create(
4747
URI.create("https://api.github.com/"),
48-
new File("/path-to-the/private-key.pem"),
48+
new File("/path-to-the/private-key.pem").toURI(),
4949
APP_ID);
5050
```
5151

0 commit comments

Comments
 (0)