projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix Mastodon API when actor's nickname is null
[akkoma]
/
lib
/
pleroma
/
upload.ex
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