Skip to content

Commit 61ef076

Browse files
Fix issue on Composer 2
1 parent 8bba441 commit 61ef076

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHubClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public function call($graphql, array &$failures = [])
206206
];
207207

208208
if ($rfs instanceof HttpDownloader) {
209-
$result = $rfs->get('https://api.github.com/graphql', $options);
209+
$result = $rfs->get('https://api.github.com/graphql', $options)->getBody();
210210
} else {
211211
$result = $rfs->getContents('github.com', 'https://api.github.com/graphql', false, $options);
212212
}

0 commit comments

Comments
 (0)