mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Keyword arguments is not a Hash
This commit is contained in:
parent
0188b1c289
commit
d9933a7f9f
1 changed files with 4 additions and 4 deletions
|
@ -80,8 +80,8 @@ module ActiveStorage
|
|||
disposition: content_disposition,
|
||||
content_type: content_type
|
||||
},
|
||||
{ expires_in: expires_in,
|
||||
purpose: :blob_key }
|
||||
expires_in: expires_in,
|
||||
purpose: :blob_key
|
||||
)
|
||||
|
||||
current_uri = URI.parse(current_host)
|
||||
|
@ -109,8 +109,8 @@ module ActiveStorage
|
|||
content_length: content_length,
|
||||
checksum: checksum
|
||||
},
|
||||
{ expires_in: expires_in,
|
||||
purpose: :blob_token }
|
||||
expires_in: expires_in,
|
||||
purpose: :blob_token
|
||||
)
|
||||
|
||||
generated_url = url_helpers.update_rails_disk_service_url(verified_token_with_expiration, host: current_host)
|
||||
|
|
Loading…
Reference in a new issue