summaryrefslogtreecommitdiff
path: root/app/graphql/resolvers/tree_resolver.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/resolvers/tree_resolver.rb')
-rw-r--r--app/graphql/resolvers/tree_resolver.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/graphql/resolvers/tree_resolver.rb b/app/graphql/resolvers/tree_resolver.rb
index 7a70c35897d..c07d9187d4d 100644
--- a/app/graphql/resolvers/tree_resolver.rb
+++ b/app/graphql/resolvers/tree_resolver.rb
@@ -4,6 +4,8 @@ module Resolvers
class TreeResolver < BaseResolver
type Types::Tree::TreeType, null: true
+ calls_gitaly!
+
argument :path, GraphQL::STRING_TYPE,
required: false,
default_value: '',