diff options
Diffstat (limited to 'source/features/clean-issue-filters.tsx')
-rw-r--r-- | source/features/clean-issue-filters.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/features/clean-issue-filters.tsx b/source/features/clean-issue-filters.tsx index ea4ad320..a6e6dcb2 100644 --- a/source/features/clean-issue-filters.tsx +++ b/source/features/clean-issue-filters.tsx @@ -5,14 +5,14 @@ import * as pageDetect from 'github-url-detection'; import features from '.'; import * as api from '../github-helpers/api'; -import {getOwnerAndRepo, getRepoURL, getRepoGQL} from '../github-helpers'; +import {getCurrentRepository, getRepoURL, getRepoGQL} from '../github-helpers'; const hasAnyProjects = cache.function(async (): Promise<boolean> => { const {repository, organization} = await api.v4(` repository(${getRepoGQL()}) { projects { totalCount } } - organization(login: "${getOwnerAndRepo().ownerName!}") { + organization(login: "${getCurrentRepository().owner!}") { projects { totalCount } } `, { |