Skip to content

Commit

Permalink
Fixed type
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Tregenna authored and Ben Tregenna committed Aug 13, 2019
1 parent f82cb1c commit ae1d41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/s3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def self.link_to file_name, opts={for_import: false}
end

def upload object_name, source, opts
Bucket = @s3.bucket(Rails.application.secrets.aws_downloads_bucket)
bucket = @s3.bucket(Rails.application.secrets.aws_downloads_bucket)
object = bucket.object(object_name)
object.upload_file(source)
@client.put_object_acl({
Expand Down

0 comments on commit ae1d41c

Please sign in to comment.