Fix file previews in project exports [SCI-9658] (#6601)

This commit is contained in:
ajugo 2023-11-08 14:18:03 +01:00 committed by GitHub
parent c76eb8a03a
commit b6ae5ad09c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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