Browse Source

Fixes query formatting

main
Eric Amodio 2 years ago
parent
commit
3a2047a734
1 changed files with 22 additions and 22 deletions
  1. +22
    -22
      src/plus/github/github.ts

+ 22
- 22
src/plus/github/github.ts View File

@ -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<QueryResult>(
provider,

Loading…
Cancel
Save