From c86fa0e45e4a053090b5c17b9678120e39f696a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20=C4=8Cupi=C4=87?= Date: Tue, 21 May 2019 00:56:19 +0200 Subject: Rename with_all_reports to with_reports --- app/serializers/build_details_entity.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/serializers/build_details_entity.rb') diff --git a/app/serializers/build_details_entity.rb b/app/serializers/build_details_entity.rb index 601b2c47678..6be0a8d1499 100644 --- a/app/serializers/build_details_entity.rb +++ b/app/serializers/build_details_entity.rb @@ -43,7 +43,7 @@ class BuildDetailsEntity < JobEntity end expose :reports, if: -> (*) { can?(current_user, :read_build, build) }, using: JobArtifactReportEntity do |build| - build.job_artifacts.merge(Ci::JobArtifact.with_all_reports) + build.job_artifacts.with_reports end expose :erased_by, if: -> (*) { build.erased? }, using: UserEntity -- cgit v1.2.1