From 3a2047a734b779a1c086a368d313c1e329e32f6e Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Mon, 22 Aug 2022 12:31:47 -0400 Subject: [PATCH] Fixes query formatting --- src/plus/github/github.ts | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/src/plus/github/github.ts b/src/plus/github/github.ts index e93c0e1..f5a9e2d 100644 --- a/src/plus/github/github.ts +++ b/src/plus/github/github.ts @@ -356,30 +356,30 @@ export class GitHubApi implements Disposable { try { const query = `query getIssueOrPullRequest( - $owner: String! - $repo: String! - $number: Int! - ) { - repository(name: $repo, owner: $owner) { - issueOrPullRequest(number: $number) { - __typename - ... on Issue { - createdAt - closed - closedAt - title - url - } - ... on PullRequest { - createdAt - closed - closedAt - title - url - } + $owner: String! + $repo: String! + $number: Int! +) { + repository(name: $repo, owner: $owner) { + issueOrPullRequest(number: $number) { + __typename + ... on Issue { + createdAt + closed + closedAt + title + url + } + ... on PullRequest { + createdAt + closed + closedAt + title + url } } - }`; + } +}`; const rsp = await this.graphql( provider,