mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
Fix failing test [SCI-2765]
This commit is contained in:
parent
77e2371091
commit
bf80aa12a7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue