Skip to content

Documentation: Syntax error in Github.create #224

@Black-Smith-Of-Fire

Description

@Black-Smith-Of-Fire

The documentation requires a slight updation. Here we need to pass a URI in the second parameter of the method .

final GitHubClient githubClient =
GitHubClient.create(
URI.create("https://api.github.com/"),
new File("/path-to-the/private-key.pem"), // here we need to convert the path to a URI
APP_ID);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions