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/serializers/environment_status_entity.rb')
-rw-r--r--app/serializers/environment_status_entity.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/environment_status_entity.rb b/app/serializers/environment_status_entity.rb
index 8865c030d94..62dc323616e 100644
--- a/app/serializers/environment_status_entity.rb
+++ b/app/serializers/environment_status_entity.rb
@@ -38,7 +38,7 @@ class EnvironmentStatusEntity < Grape::Entity
end
expose :deployment, as: :details do |es, options|
- DeploymentEntity.represent(es.deployment, options.merge(project: es.project, only: [:playable_build]))
+ DeploymentEntity.represent(es.deployment, options.merge(project: es.project, only: [:playable_job]))
end
expose :environment_available do |es|