mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-06 06:56:54 +08:00
Merge branch 'ok_SCI_2765' of https://github.com/okriuchykhin/scinote-web into core-api
Conflicts: app/serializers/api/v1/repository_asset_value_serializer.rb
This commit is contained in:
commit
3126f7c238
1 changed files with 0 additions and 2 deletions
|
@ -23,8 +23,6 @@ module Api
|
|||
elsif object.asset&.file&.is_stored_on_s3?
|
||||
object.asset.presigned_url(download: true)
|
||||
else
|
||||
# TODO
|
||||
# separate api endpoint for local files download is needed
|
||||
object.asset.file.url
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue