summaryrefslogtreecommitdiff
path: root/lib/api/entities/environment.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/entities/environment.rb')
-rw-r--r--lib/api/entities/environment.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/entities/environment.rb b/lib/api/entities/environment.rb
index 91867f3403d..b1a720ac6bb 100644
--- a/lib/api/entities/environment.rb
+++ b/lib/api/entities/environment.rb
@@ -6,6 +6,7 @@ module API
include RequestAwareEntity
include Gitlab::Utils::StrongMemoize
+ expose :tier
expose :project, using: Entities::BasicProjectDetails
expose :last_deployment, using: Entities::Deployment, if: { last_deployment: true }
expose :state