Fix tests
This commit is contained in:
parent
be42ab70dc
commit
75e07ba206
2 changed files with 38 additions and 12 deletions
|
|
@ -39,7 +39,8 @@ defmodule Pleroma.Export do
|
|||
path: id <> "/" <> file_name
|
||||
}
|
||||
|
||||
with :ok <- uploader.put_file(upload), :ok <- File.rm(zip_path) do
|
||||
with {:ok, _} <- Pleroma.Uploaders.Uploader.put_file(uploader, upload),
|
||||
:ok <- File.rm(zip_path) do
|
||||
{:ok, upload}
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue