use certs instead fo response (#31)
Co-authored-by: Mauri Mustonen <mauri.mustonen@hotmail.com>master
parent
6b17ea1311
commit
2609e0c981
|
@ -47,7 +47,7 @@ module OmniAuth
|
|||
log :debug, "Going to get certificates. URL: #{@certs_endpoint}"
|
||||
certs = Faraday.get @certs_endpoint
|
||||
if (certs.status == 200)
|
||||
json = JSON.parse(response.body)
|
||||
json = JSON.parse(certs.body)
|
||||
@certs = json["keys"]
|
||||
log :debug, "Successfully got certificate. Certificate length: #{@certs.length}"
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue