A hobbldey-working swift client.
apparently, all elixir openstack libraries are trash luckily, the APIs are stupid easy.
This commit is contained in:
parent
9fc20ed572
commit
2ff25ac0ce
5 changed files with 94 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue