Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added header for apps #823

Merged
merged 10 commits into from Nov 1, 2019
9 changes: 9 additions & 0 deletions lib/Github/Api/Apps.php
Expand Up @@ -9,6 +9,15 @@
*/
class Apps extends AbstractApi
{
use AcceptHeaderTrait;

public function configure()
{
$this->acceptHeaderValue = 'application/vnd.github.machine-man-preview+json';

return $this;
}
AAllport marked this conversation as resolved.
Show resolved Hide resolved

/**
* Create an access token for an installation.
*
Expand Down