Replace HTTPoison with Tesla for kocaptha

This commit is contained in:
Ekaterina Vaartis 2018-12-15 22:43:28 +03:00
parent e8537208bd
commit 8d55a549e6
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ defmodule Pleroma.Captcha.Kocaptcha do
def new() do
endpoint = Pleroma.Config.get!([__MODULE__, :endpoint])
case HTTPoison.get(endpoint <> "/new") do
case Tesla.get(endpoint <> "/new") do
{:error, _} ->
%{error: "Kocaptcha service unavailable"}