Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/Github/Api/GraphQL.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ class GraphQL extends AbstractApi
*
* @return array
*/
public function execute($query, array $variables = [])
public function execute($query, array $variables = [], $acceptHeaderValue = 'application/vnd.github.v4+json')
{
$this->acceptHeaderValue = 'application/vnd.github.v4+json';
$this->acceptHeaderValue = $acceptHeaderValue;
$params = [
'query' => $query,
];
Expand Down