diff --git a/lib/tasks/competiton_notice_20190704.rake b/lib/tasks/competiton_notice_20190704.rake index 92a273fe..0dc7e6fb 100644 --- a/lib/tasks/competiton_notice_20190704.rake +++ b/lib/tasks/competiton_notice_20190704.rake @@ -4,7 +4,7 @@ namespace :competition_notice do task :send_message => :environment do puts "--------------------------------competition_notice send_message start" - attachment = Attachment.where(id: 230670).first + attachment = Attachment.where(id: 375091).first if attachment.present? path = attachment.disk_directory name = attachment.disk_filename