diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-08-31 23:07:14 +0400 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-10-07 18:34:28 +0400 |
commit | 75e07ba206b94155c5210151a49e29a11bce6e50 (patch) | |
tree | d9225823eb5f9549cc319818a418e7e4711a6fd5 /lib/pleroma | |
parent | be42ab70dc9538df54ac6f30ee123666223b7287 (diff) | |
download | pleroma-75e07ba206b94155c5210151a49e29a11bce6e50.tar.gz |
Fix tests
Diffstat (limited to 'lib/pleroma')
-rw-r--r-- | lib/pleroma/export.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/export.ex b/lib/pleroma/export.ex index b84eccd78..8b1bfefe2 100644 --- a/lib/pleroma/export.ex +++ b/lib/pleroma/export.ex @@ -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 |