Fix failing test [SCI-2765]

This commit is contained in:
Oleksii Kriuchykhin 2018-10-10 17:00:53 +02:00
parent 77e2371091
commit bf80aa12a7

View file

@ -24,7 +24,7 @@ module Api
object.asset.presigned_url(download: true)
else
# separate api endpoint for local files download is needed
download_asset_path(object.asset.id)
object.asset.file.url
end
end
end