summaryrefslogtreecommitdiff
path: root/source/features/pr-commit-lines-changed.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/pr-commit-lines-changed.tsx')
-rw-r--r--source/features/pr-commit-lines-changed.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/features/pr-commit-lines-changed.tsx b/source/features/pr-commit-lines-changed.tsx
index 9bd9379a..c5d7ac10 100644
--- a/source/features/pr-commit-lines-changed.tsx
+++ b/source/features/pr-commit-lines-changed.tsx
@@ -6,11 +6,10 @@ import * as pageDetect from 'github-url-detection';
import features from '.';
import * as api from '../github-helpers/api';
import pluralize from '../helpers/pluralize';
-import {getRepoGQL} from '../github-helpers';
const getCommitChanges = cache.function(async (commit: string): Promise<[additions: number, deletions: number]> => {
const {repository} = await api.v4(`
- repository(${getRepoGQL()}) {
+ repository() {
object(expression: "${commit}") {
... on Commit {
additions