mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-18 10:59:17 +00:00
use the correct end file
This commit is contained in:
parent
ca63585a32
commit
dc8ace29d1
|
@ -18,7 +18,7 @@ def store(%Plug.Upload{} = file, should_dedupe) 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 @@ def store(%{"img" => "data:image/" <> image_data}, should_dedupe) do
|
|||
File.rename(uuidpath, result_file)
|
||||
end
|
||||
|
||||
strip_exif_data(content_type, uuidpath)
|
||||
strip_exif_data(content_type, result_file)
|
||||
|
||||
%{
|
||||
"type" => "Image",
|
||||
|
|
Loading…
Reference in a new issue