mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-28 02:27:57 +08:00
Fix file previews in project exports [SCI-9658] (#6601)
This commit is contained in:
parent
c76eb8a03a
commit
b6ae5ad09c
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ class TeamZipExportJob < ZipExportJob
|
|||
else
|
||||
return unless preview.processed?
|
||||
|
||||
file_name = preview.filename.to_s
|
||||
file_name = preview.blob.filename.to_s
|
||||
file_data = preview.download
|
||||
end
|
||||
rescue ActiveStorage::FileNotFoundError => e
|
||||
|
|
Loading…
Reference in a new issue