upload: formatting
This commit is contained in:
parent
1596185ac6
commit
d22f66655b
|
@ -240,7 +240,8 @@ defp put_s3_file(name, uuid, path, content_type) do
|
||||||
ExAws.S3.put_object(bucket, s3_name, file_data, [
|
ExAws.S3.put_object(bucket, s3_name, file_data, [
|
||||||
{:acl, :public_read},
|
{:acl, :public_read},
|
||||||
{:content_type, content_type}
|
{:content_type, content_type}
|
||||||
]) |> ExAws.request()
|
])
|
||||||
|
|> ExAws.request()
|
||||||
|
|
||||||
"#{public_endpoint}/#{bucket}/#{s3_name}"
|
"#{public_endpoint}/#{bucket}/#{s3_name}"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue