mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +08:00
Check presence of template zip URL [SCI-10999]
This commit is contained in:
parent
ff205197ed
commit
c128f2f003
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ require 'active_storage/service/s3_service'
|
|||
|
||||
template_zip_url_string = ENV.fetch('REPORT_TEMPLATES_ZIP_URL', nil)
|
||||
|
||||
return unless template_zip_url_string
|
||||
return unless template_zip_url_string.present?
|
||||
|
||||
template_zip_url = URI.parse(template_zip_url_string)
|
||||
contents = case template_zip_url.scheme
|
||||
|
|
Loading…
Reference in a new issue