mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 11:19:19 +00:00
upload: formatting
This commit is contained in:
parent
1596185ac6
commit
d22f66655b
1 changed files with 2 additions and 1 deletions
|
@ -240,7 +240,8 @@ defmodule Pleroma.Upload 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
|
||||
|
|
Loading…
Reference in a new issue