Parcourir la source

upload: formatting

tags/v0.9.9
William Pitcock il y a 5 ans
Parent
révision
d22f66655b
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. +2
    -1
      lib/pleroma/upload.ex

+ 2
- 1
lib/pleroma/upload.ex Voir le fichier

@@ -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


Chargement…
Annuler
Enregistrer