diff options
author | Thurloat <thurloat@gmail.com> | 2018-08-28 22:32:24 -0300 |
---|---|---|
committer | Thurloat <thurloat@gmail.com> | 2018-08-28 22:32:24 -0300 |
commit | 2ff25ac0ceb98f2ee1c803aeb8aecc112e335877 (patch) | |
tree | e27c814f0ff81872c5426d4fc3959924df1b0760 /lib/pleroma/upload.ex | |
parent | 9fc20ed5720bccb77289ce3d6eb9bc3a69ceeb8a (diff) | |
download | pleroma-2ff25ac0ceb98f2ee1c803aeb8aecc112e335877.tar.gz |
A hobbldey-working swift client.
apparently, all elixir openstack libraries are trash
luckily, the APIs are stupid easy.
Diffstat (limited to 'lib/pleroma/upload.ex')
-rw-r--r-- | lib/pleroma/upload.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/upload.ex b/lib/pleroma/upload.ex index b70758dc7..7d3b36287 100644 --- a/lib/pleroma/upload.ex +++ b/lib/pleroma/upload.ex @@ -12,7 +12,7 @@ defmodule Pleroma.Upload do strip_exif_data(content_type, file.path) - url_path = @storage_backend.put_file(name, uuid, file, content_type, should_dedupe) + url_path = @storage_backend.put_file(name, uuid, file.path, content_type, should_dedupe) %{ "type" => "Document", |