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.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/upload.ex b/lib/pleroma/upload.ex
index 45fac9060..dd2bbab9f 100644
--- a/lib/pleroma/upload.ex
+++ b/lib/pleroma/upload.ex
@@ -18,7 +18,7 @@ defmodule Pleroma.Upload do
File.cp!(file.path, result_file)
end
- strip_exif_data(content_type, file.path)
+ strip_exif_data(content_type, result_file)
%{
"type" => "Image",
@@ -69,7 +69,7 @@ defmodule Pleroma.Upload do
File.rename(uuidpath, result_file)
end
- strip_exif_data(content_type, uuidpath)
+ strip_exif_data(content_type, result_file)
%{
"type" => "Image",