diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-02-25 18:34:56 +0400 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-02-25 18:34:56 +0400 |
commit | 22018adae67ae0b2047a410dc1f5cf9463ade3dc (patch) | |
tree | fbbd37cbc8534d41b5a0fd4bca23995724e46ffc /lib/pleroma/captcha | |
parent | 87e8d792bda62eff57c511229adf98ffd3c996fc (diff) | |
download | pleroma-22018adae67ae0b2047a410dc1f5cf9463ade3dc.tar.gz |
Fix Dialyzer warnings
Diffstat (limited to 'lib/pleroma/captcha')
-rw-r--r-- | lib/pleroma/captcha/native.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/captcha/native.ex b/lib/pleroma/captcha/native.ex index 5306fe1aa..2c8db2c30 100644 --- a/lib/pleroma/captcha/native.ex +++ b/lib/pleroma/captcha/native.ex @@ -10,8 +10,8 @@ defmodule Pleroma.Captcha.Native do @impl Service def new do case Captcha.get() do - {:timeout} -> - %{error: dgettext("errors", "Captcha timeout")} + :error -> + %{error: dgettext("errors", "Captcha error")} {:ok, answer_data, img_binary} -> %{ |