diff options
Diffstat (limited to 'app/serializers/pipeline_serializer.rb')
-rw-r--r-- | app/serializers/pipeline_serializer.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/serializers/pipeline_serializer.rb b/app/serializers/pipeline_serializer.rb index 3ad9f2bc0bf..b2c0ceb640b 100644 --- a/app/serializers/pipeline_serializer.rb +++ b/app/serializers/pipeline_serializer.rb @@ -56,9 +56,14 @@ class PipelineSerializer < BaseSerializer :manual_actions, :scheduled_actions, :artifacts, - :merge_request, :user, { + merge_request: { + source_project: [:route, { namespace: :route }], + target_project: [:route, { namespace: :route }] + } + }, + { pending_builds: :project, project: [:route, { namespace: :route }], artifacts: { |