Commit d22f6665 authored by kaniini's avatar kaniini
Browse files

upload: formatting

parent 1596185a
Pipeline #3362 passed with stages
in 4 minutes and 44 seconds
......@@ -240,7 +240,8 @@ defp put_s3_file(name, uuid, path, content_type) do
ExAws.S3.put_object(bucket, s3_name, file_data, [
{:acl, :public_read},
{:content_type, content_type}
]) |> ExAws.request()
])
|> ExAws.request()
"#{public_endpoint}/#{bucket}/#{s3_name}"
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment