aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/upload.ex
diff options
context:
space:
mode:
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",