Skip to content

Commit

Permalink
Fix a typo in S3Service
Browse files Browse the repository at this point in the history
  • Loading branch information
colorfulfool committed Jul 15, 2017
1 parent 6074771 commit 993283a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/active_storage/service/s3_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@ def initialize(access_key_id:, secret_access_key:, region:, bucket:, endpoint: n
access_key_id: access_key_id,
secret_access_key: secret_access_key,
region: region,
bucket: bucket,
endpoint: endpoint
)
else
Aws::S3::Resource.new(
access_key_id: access_key_id,
secret_access_key: secret_access_key,
region: region,
bucket: bucket
region: region
)
end

Expand Down

0 comments on commit 993283a

Please sign in to comment.