lib/bobot/graph_facebook.rb in bobot-3.0.6 vs lib/bobot/graph_facebook.rb in bobot-3.0.7

- old
+ new

@@ -14,10 +14,10 @@ method: :get, params: URI.encode_www_form(query.reverse_merge(include_headers: false)), headers: GRAPH_HEADERS, ssl_verifypeer: false, verbose: false, - ).run + ) response = req.run json = ActiveSupport::JSON.decode(response.send(:body) || '{}') Rails.logger.debug "[GET] >> #{url}" Rails.logger.debug "[GET] << #{json}" Bobot::ErrorParser.raise_errors_from(json)