Skip to content

Commit

Permalink
set Jason as default json library if none set (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
MyNameIsURL authored and sobolevn committed Oct 15, 2019
1 parent 9fc899d commit 8ea13f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/recaptcha/http.ex
Expand Up @@ -40,7 +40,7 @@ defmodule Recaptcha.Http do
def request_verification(body, options \\ []) do
timeout = options[:timeout] || Config.get_env(:recaptcha, :timeout, 5000)
url = Config.get_env(:recaptcha, :verify_url, @default_verify_url)
json = Application.get_env(:recaptcha, :json_library)
json = Application.get_env(:recaptcha, :json_library, Jason)

result =
with {:ok, response} <-
Expand Down

0 comments on commit 8ea13f6

Please sign in to comment.