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/files.query.graphql')
-rw-r--r--app/graphql/queries/repository/files.query.graphql3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/graphql/queries/repository/files.query.graphql b/app/graphql/queries/repository/files.query.graphql
index a83880ce696..bd7bb8ba787 100644
--- a/app/graphql/queries/repository/files.query.graphql
+++ b/app/graphql/queries/repository/files.query.graphql
@@ -19,6 +19,7 @@ query getFiles(
$projectPath: ID!
$path: String
$ref: String!
+ $refType: RefType
$pageSize: Int!
$nextPageCursor: String
) {
@@ -27,7 +28,7 @@ query getFiles(
__typename
repository {
__typename
- tree(path: $path, ref: $ref) {
+ tree(path: $path, ref: $ref, refType: $refType) {
__typename
trees(first: $pageSize, after: $nextPageCursor) {
__typename