Skip to content

Commit 320cdf3

Browse files
author
Shinya Maeda
committed
Fix hound
1 parent 36e18d8 commit 320cdf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fog/storage/google_json/requests/put_object.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def put_object(bucket_name,
5050
data = StringIO.new(data)
5151
options[:content_type] ||= "text/plain"
5252
elsif data.is_a?(::File)
53-
options[:content_type] ||= Fog::Storage.parse_data(data)[:headers]["Content-Type"]
53+
options[:content_type] ||= Fog::Storage.parse_data(data)[:headers]["Content-Type"]
5454
end
5555

5656
# Paperclip::AbstractAdapter

0 commit comments

Comments
 (0)