diff --git a/app/models/communication/website/imported/medium.rb b/app/models/communication/website/imported/medium.rb index 80801c768b903857709b2dac731c050a9fb44ee4..3909ab6a9fa468c4297e347d3f4af3ccead70028 100644 --- a/app/models/communication/website/imported/medium.rb +++ b/app/models/communication/website/imported/medium.rb @@ -55,5 +55,6 @@ class Communication::Website::Imported::Medium < ApplicationRecord def load_remote_file! download_service = DownloadService.download(file_url) file.attach(download_service.attachable_data) + save end end