aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHakaba Hitoyo <hakabahitoyo@example.com>2018-11-15 14:46:43 +0900
committerHakaba Hitoyo <hakabahitoyo@example.com>2018-11-15 14:46:43 +0900
commitebe658c16976d7a1938a3a132027e5b438937f39 (patch)
treed218b94ed2ebb00c957e5dcdeacbf37526b7e059 /lib
parent698cb3587cf66f4946c2baab69ecd45f339e1392 (diff)
downloadpleroma-ebe658c16976d7a1938a3a132027e5b438937f39.tar.gz
debuf
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/uploaders/mdii.ex2
1 files changed, 1 insertions, 1 deletions
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}