diff options
Diffstat (limited to 'source/features/clone-branch.tsx')
-rw-r--r-- | source/features/clone-branch.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/features/clone-branch.tsx b/source/features/clone-branch.tsx index 8e15d99d..2373ff86 100644 --- a/source/features/clone-branch.tsx +++ b/source/features/clone-branch.tsx @@ -10,11 +10,10 @@ import * as textFieldEdit from 'text-field-edit'; import features from '.'; import * as api from '../github-helpers/api'; import LoadingIcon from '../github-helpers/icon-loading'; -import {getRepoGQL} from '../github-helpers'; const getBranchBaseSha = async (branchName: string): Promise<string> => { const {repository} = await api.v4(` - repository(${getRepoGQL()}) { + repository() { ref(qualifiedName: "${branchName}") { target { oid |