提交 393df742 编写于 作者: R Ryuta Kamizono

Fix syntax error

上级 b472fedd
......@@ -80,8 +80,8 @@ def exist?(key)
def url_for_direct_upload(key, expires_in:, content_type:, content_length:, checksum:)
instrument :url, key: key do |payload|
generated_url = object_for(key).presigned_url :put, expires_in: expires_in.to_i,
content_type: content_type, content_length: content_length, content_md5: checksum
whitelist_headers: ['content-length'], **upload_options
content_type: content_type, content_length: content_length, content_md5: checksum,
whitelist_headers: ["content-length"], **upload_options
payload[:url] = generated_url
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册