summaryrefslogtreecommitdiff
path: root/app/graphql/types/tree/submodule_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/tree/submodule_type.rb')
-rw-r--r--app/graphql/types/tree/submodule_type.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/graphql/types/tree/submodule_type.rb b/app/graphql/types/tree/submodule_type.rb
index 8cb1e04f5ba..2b47e5c0161 100644
--- a/app/graphql/types/tree/submodule_type.rb
+++ b/app/graphql/types/tree/submodule_type.rb
@@ -7,6 +7,9 @@ module Types
implements Types::Tree::EntryType
graphql_name 'Submodule'
+
+ field :web_url, type: GraphQL::STRING_TYPE, null: true
+ field :tree_url, type: GraphQL::STRING_TYPE, null: true
end
# rubocop: enable Graphql/AuthorizeTypes
end