From a935456acab0c7bdc021829e18ce20230e18c752 Mon Sep 17 00:00:00 2001
From: yakov116 <16872793+yakov116@users.noreply.github.com>
Date: Wed, 18 Nov 2020 19:55:59 -0500
Subject: Lint (#3723)

---
 source/features/restore-file.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'source/features/restore-file.tsx')

diff --git a/source/features/restore-file.tsx b/source/features/restore-file.tsx
index 44b881f1..67170630 100644
--- a/source/features/restore-file.tsx
+++ b/source/features/restore-file.tsx
@@ -8,7 +8,7 @@ import features from '.';
 import * as api from '../github-helpers/api';
 import fetchDom from '../helpers/fetch-dom';
 import postForm from '../helpers/post-form';
-import {getConversationNumber, getRepoGQL, getCurrentBranch, getPRHeadRepo} from '../github-helpers';
+import {getConversationNumber, getCurrentBranch, getPRHeadRepo} from '../github-helpers';
 
 function showError(menuItem: HTMLButtonElement, error: string): void {
 	menuItem.disabled = true;
@@ -22,7 +22,7 @@ This value is not consistently available on the page (appears in `/files` but no
 */
 const getBaseReference = onetime(async (): Promise<string> => {
 	const {repository} = await api.v4(`
-		repository(${getRepoGQL()}) {
+		repository() {
 			pullRequest(number: ${getConversationNumber()!}) {
 				baseRefOid
 			}
@@ -33,7 +33,7 @@ const getBaseReference = onetime(async (): Promise<string> => {
 
 async function getFile(filePath: string): Promise<{isTruncated: boolean; text: string} | null> {
 	const {repository} = await api.v4(`
-		repository(${getRepoGQL()}) {
+		repository() {
 			file: object(expression: "${await getBaseReference()}:${filePath}") {
 				... on Blob {
 					isTruncated
-- 
cgit v1.2.3

