diff options
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/builds_controller.rb | 2 | ||||
-rw-r--r-- | app/controllers/projects/merge_requests_controller.rb | 2 | ||||
-rw-r--r-- | app/controllers/projects/pipelines_controller.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/projects/builds_controller.rb b/app/controllers/projects/builds_controller.rb index f141cd6c3be..caa3d335765 100644 --- a/app/controllers/projects/builds_controller.rb +++ b/app/controllers/projects/builds_controller.rb @@ -76,7 +76,7 @@ class Projects::BuildsController < Projects::ApplicationController def status render json: BuildSerializer .new(project: @project, user: @current_user) - .with_status + .only_status .represent(@build) end diff --git a/app/controllers/projects/merge_requests_controller.rb b/app/controllers/projects/merge_requests_controller.rb index 5087abedf40..c873d06de5a 100644 --- a/app/controllers/projects/merge_requests_controller.rb +++ b/app/controllers/projects/merge_requests_controller.rb @@ -476,7 +476,7 @@ class Projects::MergeRequestsController < Projects::ApplicationController def status render json: PipelineSerializer .new(project: @project, user: @current_user) - .with_status + .only_status .represent(@merge_request.head_pipeline) end diff --git a/app/controllers/projects/pipelines_controller.rb b/app/controllers/projects/pipelines_controller.rb index 976827040ac..12ab43665f2 100644 --- a/app/controllers/projects/pipelines_controller.rb +++ b/app/controllers/projects/pipelines_controller.rb @@ -75,7 +75,7 @@ class Projects::PipelinesController < Projects::ApplicationController def status render json: PipelineSerializer .new(project: @project, user: @current_user) - .with_status + .only_status .represent(@pipeline) end |