diff options
author | 2020-11-18 19:55:59 -0500 | |
---|---|---|
committer | 2020-11-18 18:55:59 -0600 | |
commit | a935456acab0c7bdc021829e18ce20230e18c752 (patch) | |
tree | e61eed13a433381ba223a4ca962e904c8740fc91 /source/features/show-associated-branch-prs-on-fork.tsx | |
parent | cab33f6f47c4eef0a3bc793f2004767f34b6abe9 (diff) | |
download | refined-github-a935456acab0c7bdc021829e18ce20230e18c752.tar.gz refined-github-a935456acab0c7bdc021829e18ce20230e18c752.tar.zst refined-github-a935456acab0c7bdc021829e18ce20230e18c752.zip |
Lint (#3723)20.11.19
Diffstat (limited to 'source/features/show-associated-branch-prs-on-fork.tsx')
-rw-r--r-- | source/features/show-associated-branch-prs-on-fork.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/features/show-associated-branch-prs-on-fork.tsx b/source/features/show-associated-branch-prs-on-fork.tsx index 062cc3ba..049a0fa5 100644 --- a/source/features/show-associated-branch-prs-on-fork.tsx +++ b/source/features/show-associated-branch-prs-on-fork.tsx @@ -8,7 +8,7 @@ import PullRequestIcon from 'octicon/git-pull-request.svg'; import features from '.'; import * as api from '../github-helpers/api'; -import {getRepoGQL, getRepo, upperCaseFirst} from '../github-helpers'; +import {getRepo, upperCaseFirst} from '../github-helpers'; interface PullRequest { number: number; @@ -19,7 +19,7 @@ interface PullRequest { const getPullRequestsAssociatedWithBranch = cache.function(async (): Promise<Record<string, PullRequest>> => { const {repository} = await api.v4(` - repository(${getRepoGQL()}) { + repository() { refs(refPrefix: "refs/heads/", last: 100) { nodes { name |