summaryrefslogtreecommitdiff
path: root/app/graphql/types/deployment_details_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/deployment_details_type.rb')
-rw-r--r--app/graphql/types/deployment_details_type.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/graphql/types/deployment_details_type.rb b/app/graphql/types/deployment_details_type.rb
index f8ba0cb1b24..bbb5cc8e3f1 100644
--- a/app/graphql/types/deployment_details_type.rb
+++ b/app/graphql/types/deployment_details_type.rb
@@ -5,7 +5,7 @@ module Types
graphql_name 'DeploymentDetails'
description 'The details of the deployment'
authorize :read_deployment
- present_using Deployments::DeploymentPresenter
+ present_using ::Deployments::DeploymentPresenter
field :tags,
[Types::DeploymentTagType],
@@ -13,3 +13,5 @@ module Types
calls_gitaly: true
end
end
+
+Types::DeploymentDetailsType.prepend_mod_with('Types::DeploymentDetailsType')