Skip to content

Commit

Permalink
Fix when uploading to Cloudinary
Browse files Browse the repository at this point in the history
  • Loading branch information
GWillmann committed Dec 12, 2018
1 parent f0728de commit f98f1b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_storage/service/cloudinary_service.rb
Expand Up @@ -19,7 +19,7 @@ def initialize(cloud_name:, api_key:, api_secret:, **options)
# Cloudinary.config_from_url(url)
end

def upload(key, io, checksum: nil)
def upload(key, io, checksum: nil, **)
instrument :upload, key: key, checksum: checksum do
Cloudinary::Uploader.upload(io, public_id: key, resource_type: 'auto')
end
Expand Down

0 comments on commit f98f1b7

Please sign in to comment.