summaryrefslogtreecommitdiff
path: root/source/features/mark-merge-commits-in-list.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/mark-merge-commits-in-list.tsx')
-rw-r--r--source/features/mark-merge-commits-in-list.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/features/mark-merge-commits-in-list.tsx b/source/features/mark-merge-commits-in-list.tsx
index d0d9ec8a..e6cbea71 100644
--- a/source/features/mark-merge-commits-in-list.tsx
+++ b/source/features/mark-merge-commits-in-list.tsx
@@ -6,11 +6,10 @@ import PullRequestIcon from 'octicon/git-pull-request.svg';
import features from '.';
import * as api from '../github-helpers/api';
-import {getRepoGQL} from '../github-helpers';
const filterMergeCommits = async (commits: string[]): Promise<string[]> => {
const {repository} = await api.v4(`
- repository(${getRepoGQL()}) {
+ repository() {
${commits.map((commit: string) => `
${api.escapeKey(commit)}: object(expression: "${commit}") {
... on Commit {