Skip to content

Accept header missing for the chceks API in 2.16.0 and newer #967

Description

@ramonacat

I am using this package with GitHub Enterprise, version 2.22, when knplabs/github-api is at version 2.16.0, trying to use the checks API results in Github\Exception\RuntimeException (message: If you would like to help us test the Checks API during its preview period, you must specify a custom media type in the 'Accept' header. Please see the docs for full details.). I don't see an obvious way to specify the header as a user of the library.
Would it be possible to add it back, or add an option to pass custom headers to the checks calls?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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