summaryrefslogtreecommitdiff
path: root/source/features/comments-time-machine-links.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/comments-time-machine-links.tsx')
-rw-r--r--source/features/comments-time-machine-links.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/features/comments-time-machine-links.tsx b/source/features/comments-time-machine-links.tsx
index 9a8727aa..3b16758f 100644
--- a/source/features/comments-time-machine-links.tsx
+++ b/source/features/comments-time-machine-links.tsx
@@ -8,11 +8,11 @@ import features from '.';
import * as api from '../github-helpers/api';
import GitHubURL from '../github-helpers/github-url';
import {appendBefore} from '../helpers/dom-utils';
-import {buildRepoURL, isPermalink, getRepoGQL} from '../github-helpers';
+import {buildRepoURL, isPermalink} from '../github-helpers';
async function updateURLtoDatedSha(url: GitHubURL, date: string): Promise<void> {
const {repository} = await api.v4(`
- repository(${getRepoGQL()}) {
+ repository() {
ref(qualifiedName: "${url.branch}") {
target {
... on Commit {