Skip to content

Commit d5d77a8

Browse files
committed
add the Accept Header for Github Apps API Preview for all Apps requests
1 parent 88d4a45 commit d5d77a8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/Github/Api/Apps.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@
99
*/
1010
class Apps extends AbstractApi
1111
{
12+
use AcceptHeaderTrait;
13+
14+
public function configure()
15+
{
16+
$this->acceptHeaderValue = 'application/vnd.github.machine-man-preview+json';
17+
}
18+
1219
/**
1320
* Create an access token for an installation.
1421
*

0 commit comments

Comments
 (0)