Credo fixes: parameter consistency

This commit is contained in:
Haelwenn (lanodan) Monnier 2019-02-06 20:19:39 +01:00
commit 106f4e7a0f
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
8 changed files with 9 additions and 9 deletions

View file

@ -27,7 +27,7 @@ defmodule Pleroma.Uploaders.S3 do
])}}
end
def put_file(upload = %Pleroma.Upload{}) do
def put_file(%Pleroma.Upload{} = upload) do
config = Pleroma.Config.get([__MODULE__])
bucket = Keyword.get(config, :bucket)