diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/captcha/kocaptcha.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/captcha/kocaptcha.ex b/lib/pleroma/captcha/kocaptcha.ex index 173ce17f7..4ecd1a81f 100644 --- a/lib/pleroma/captcha/kocaptcha.ex +++ b/lib/pleroma/captcha/kocaptcha.ex @@ -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"} |