summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/pleroma/upload.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/upload.ex b/lib/pleroma/upload.ex
index 6bed0e8ff..a744e6fd4 100644
--- a/lib/pleroma/upload.ex
+++ b/lib/pleroma/upload.ex
@@ -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