Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/queries/repository/blob_info.query.graphql')
-rw-r--r--app/graphql/queries/repository/blob_info.query.graphql3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/graphql/queries/repository/blob_info.query.graphql b/app/graphql/queries/repository/blob_info.query.graphql
index fd463436ed4..7419961a564 100644
--- a/app/graphql/queries/repository/blob_info.query.graphql
+++ b/app/graphql/queries/repository/blob_info.query.graphql
@@ -2,6 +2,7 @@ query getBlobInfo(
$projectPath: ID!
$filePath: String!
$ref: String!
+ $refType: RefType
$shouldFetchRawText: Boolean!
) {
project(fullPath: $projectPath) {
@@ -10,7 +11,7 @@ query getBlobInfo(
repository {
__typename
empty
- blobs(paths: [$filePath], ref: $ref) {
+ blobs(paths: [$filePath], ref: $ref, refType: $refType) {
__typename
nodes {
__typename