aboutsummaryrefslogtreecommitdiff
path: root/lib/recaptcha.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/recaptcha.ex')
-rw-r--r--lib/recaptcha.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/recaptcha.ex b/lib/recaptcha.ex
index 30a5bd8..3108add 100644
--- a/lib/recaptcha.ex
+++ b/lib/recaptcha.ex
@@ -41,7 +41,7 @@ defmodule Recaptcha do
{:error, Enum.map(errors, fn(error) -> atomise_api_error(error) end)}
{:ok, %{"success" => true, "challenge_ts" => timestamp, "hostname" => host}} ->
{:ok, %Recaptcha.Response{challenge_ts: timestamp, hostname: host}}
- {:ok, %{"success" => false, "challenge_ts" => timestamp, "hostname" => host}} ->
+ {:ok, %{"success" => false, "challenge_ts" => _timestamp, "hostname" => _host}} ->
{:error, [:challenge_failed]}
end
end