Skip to content

Commit

Permalink
file_set.filename not file_set.file_name :/
Browse files Browse the repository at this point in the history
  • Loading branch information
cziaarm committed Oct 15, 2024
1 parent 3c8cc9e commit 6afa112
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module UpdaterDecorator
def attach_attributes(external_file_url, filename = nil)
current_file.content = StringIO.new('-') # anything but blank
# filename will be the url as that is what ahppens in self.call
STDERR.puts "We will call this file: #{@file_set.label}... or maybe #{@file_set.file_name}.... or even #{file_set.label}"
STDERR.puts "We will call this file: #{@file_set.label}... or maybe #{@file_set.filename}.... or even #{file_set.label}"
current_file.original_name = @file_set.label
# current_file.original_name = filename
current_file.mime_type = "message/external-body; access-type=URL; URL=\"#{external_file_url}\""
Expand Down

0 comments on commit 6afa112

Please sign in to comment.