X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/76eaaac9fed4e74b8073ee08f99b84fc7922ac9f..2d4198a095e193102daa2710c6b2baba7be7c9ce:/services/api/app/controllers/arvados/v1/keep_disks_controller.rb?ds=sidebyside diff --git a/services/api/app/controllers/arvados/v1/keep_disks_controller.rb b/services/api/app/controllers/arvados/v1/keep_disks_controller.rb index e8ccf2386c..2db2a60452 100644 --- a/services/api/app/controllers/arvados/v1/keep_disks_controller.rb +++ b/services/api/app/controllers/arvados/v1/keep_disks_controller.rb @@ -22,7 +22,7 @@ class Arvados::V1::KeepDisksController < ApplicationController # Render the :superuser view (i.e., include the ping_secret) even # if !current_user.is_admin. This is safe because @object.ping's # success implies the ping_secret was already known by the client. - render json: @object.as_api_response(:superuser) + send_json @object.as_api_response(:superuser) end end