From: hakabahitoyo Date: Wed, 13 Feb 2019 06:46:42 +0000 (+0900) Subject: bugfix mdii uploader X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=b7bc666200d6cd113365af7456b4135c86f1db03;p=akkoma bugfix mdii uploader --- diff --git a/lib/pleroma/uploaders/mdii.ex b/lib/pleroma/uploaders/mdii.ex index 320b07abd..190ed9f3a 100644 --- a/lib/pleroma/uploaders/mdii.ex +++ b/lib/pleroma/uploaders/mdii.ex @@ -25,7 +25,7 @@ defmodule Pleroma.Uploaders.MDII do query = "#{cgi}?#{extension}" with {:ok, %{status: 200, body: body}} <- - @httpoison.post(query, file_data, adapter: [pool: :default]) do + @httpoison.post(query, file_data, [], adapter: [pool: :default]) do remote_file_name = String.split(body) |> List.first() public_url = "#{files}/#{remote_file_name}.#{extension}" {:ok, {:url, public_url}}