Skip to content

Commit

Permalink
Update pull request (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
guibranco authored Feb 18, 2024
1 parent 5a1b8ea commit 70ab4af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Src/pullRequests.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ function handlePullRequest($pullRequest)
requestGitHub($gitHubUserToken, "graphql", $body);
}

$referencedIssueQuery = array("query {
$referencedIssueQuery = array(
"query" => "query {
repository(owner: \"" . $pullRequest->RepositoryOwner . "\", name: \"" . $pullRequest->RepositoryName . "\") {
pullRequest(number: " . $pullRequest->Number . ") {
closingIssuesReferences(first: 1) {
Expand Down

0 comments on commit 70ab4af

Please sign in to comment.