From ebe658c16976d7a1938a3a132027e5b438937f39 Mon Sep 17 00:00:00 2001 From: Hakaba Hitoyo Date: Thu, 15 Nov 2018 14:46:43 +0900 Subject: [PATCH] debuf --- lib/pleroma/uploaders/mdii.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/uploaders/mdii.ex b/lib/pleroma/uploaders/mdii.ex index f21a7e1e2..0f68b0805 100644 --- a/lib/pleroma/uploaders/mdii.ex +++ b/lib/pleroma/uploaders/mdii.ex @@ -15,7 +15,7 @@ defmodule Pleroma.Uploaders.Mdii do query = "https://#{host_name}/mdii.cgi?#{extension}" with {:ok, %{status_code: 200, body: body}} <- - @httpoison.get(url, file_data) do + @httpoison.post(query, file_data) do remote_file_name = body public_url = "https://#{host_name}/#{remote_file_name}.#{extension}" {:ok, public_url}