projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1596185
)
upload: formatting
author
William Pitcock
<nenolod@dereferenced.org>
Tue, 28 Aug 2018 00:25:30 +0000
(
00:25
+0000)
committer
William Pitcock
<nenolod@dereferenced.org>
Tue, 28 Aug 2018 00:25:30 +0000
(
00:25
+0000)
lib/pleroma/upload.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/upload.ex
b/lib/pleroma/upload.ex
index 6bed0e8ff16d6ee2567fd799233a3505d98cd9b1..a744e6fd4bbeea082fb6d9c80dde831ea6fc7bb6 100644
(file)
--- 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