diff --git a/app/views/projects/build_lists/show.json.jbuilder b/app/views/projects/build_lists/show.json.jbuilder index f462f329d..2282940e8 100644 --- a/app/views/projects/build_lists/show.json.jbuilder +++ b/app/views/projects/build_lists/show.json.jbuilder @@ -5,7 +5,7 @@ json.build_list do json.human_duration "#{@build_list.human_current_duration} / #{@build_list.human_average_build_time}" end - json.cache! @build_list, expires_in: 1.minute do + json.cache! [@build_list, current_user], expires_in: 1.minute do json.(@build_list, :id, :container_status, :status) json.(@build_list, :update_type) json.updated_at @build_list.updated_at