aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/captcha
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2020-11-04 17:48:10 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2020-11-04 17:48:10 +0300
commit73e66fd31fdfe8cc483fb77df235ddef31708aeb (patch)
tree26e4d4e4f62e95c808dbe3a2a820de9b4ab9dd02 /lib/pleroma/captcha
parent04f6b48ac1a76fe9c6c3fd573427d418bc152adf (diff)
parent9c09ea01aa8c93e02b5697e27f0a8458b624b161 (diff)
downloadpleroma-73e66fd31fdfe8cc483fb77df235ddef31708aeb.tar.gz
Merge remote-tracking branch 'remotes/origin/develop' into auth-improvements
Diffstat (limited to 'lib/pleroma/captcha')
-rw-r--r--lib/pleroma/captcha/kocaptcha.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/captcha/kocaptcha.ex b/lib/pleroma/captcha/kocaptcha.ex
index 337506647..201b55ab4 100644
--- a/lib/pleroma/captcha/kocaptcha.ex
+++ b/lib/pleroma/captcha/kocaptcha.ex
@@ -10,7 +10,7 @@ defmodule Pleroma.Captcha.Kocaptcha do
def new do
endpoint = Pleroma.Config.get!([__MODULE__, :endpoint])
- case Tesla.get(endpoint <> "/new") do
+ case Pleroma.HTTP.get(endpoint <> "/new") do
{:error, _} ->
%{error: :kocaptcha_service_unavailable}