pull/2175/head
Ayrat Badykov 6 years ago
parent 8d0ff71629
commit 2be5e9588f
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 8
      apps/explorer/lib/explorer/exchange_rates/source.ex

@ -64,11 +64,9 @@ defmodule Explorer.ExchangeRates.Source do
end
def decode_json(data) do
try do
Jason.decode!(data)
rescue
_ -> data
end
Jason.decode!(data)
rescue
_ -> data
end
def to_decimal(nil), do: nil

Loading…
Cancel
Save