Commit 05328836 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix exposing legacy stages in pipeline entity

parent 78b2f65c
...@@ -15,11 +15,11 @@ class PipelineEntity < Grape::Entity ...@@ -15,11 +15,11 @@ class PipelineEntity < Grape::Entity
expose :details do expose :details do
expose :detailed_status, as: :status, with: StatusEntity expose :detailed_status, as: :status, with: StatusEntity
expose :duration expose :legacy_stages, as: :stages, using: StageEntity
expose :finished_at
expose :stages, using: StageEntity
expose :artifacts, using: BuildArtifactEntity expose :artifacts, using: BuildArtifactEntity
expose :manual_actions, using: BuildActionEntity expose :manual_actions, using: BuildActionEntity
expose :duration
expose :finished_at
end end
expose :flags do expose :flags do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment