aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/upload.ex
diff options
context:
space:
mode:
authorThurloat <thurloat@gmail.com>2018-08-28 22:32:24 -0300
committerThurloat <thurloat@gmail.com>2018-08-28 22:32:24 -0300
commit2ff25ac0ceb98f2ee1c803aeb8aecc112e335877 (patch)
treee27c814f0ff81872c5426d4fc3959924df1b0760 /lib/pleroma/upload.ex
parent9fc20ed5720bccb77289ce3d6eb9bc3a69ceeb8a (diff)
downloadpleroma-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.ex2
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",