We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dce0d3 commit 6362281Copy full SHA for 6362281
lib/Github/Api/GraphQL.php
@@ -21,9 +21,9 @@ class GraphQL extends AbstractApi
21
*
22
* @return array
23
*/
24
- public function execute($query, array $variables = [])
+ public function execute($query, array $variables = [], $acceptHeaderValue = 'application/vnd.github.v4+json')
25
{
26
- $this->acceptHeaderValue = 'application/vnd.github.v4+json';
+ $this->acceptHeaderValue = $acceptHeaderValue;
27
$params = [
28
'query' => $query,
29
];
0 commit comments