diff --git a/lib/goldfinger/result.rb b/lib/goldfinger/result.rb index 6eec64d..5173c7b 100644 --- a/lib/goldfinger/result.rb +++ b/lib/goldfinger/result.rb @@ -74,7 +74,7 @@ module Goldfinger end def parse_json - json = Oj.load(@body, mode: :null) + json = Oj.load(@body.to_s, mode: :null) @subject = json['subject'] @aliases = json['aliases'] || []