lib/lanmao/http/request.rb in lanmao-0.4.0 vs lib/lanmao/http/request.rb in lanmao-0.5.0
- old
+ new
@@ -65,10 +65,10 @@
# 6. create response
@response = Lanmao::Http::Response.new(service: @service,
flow_id: flow_id,
http_response: http_response,
raw_body: http_response.body,
- data: JSON.parse(http_response.body),
+ data: Utils.symbolize_keys(JSON.parse(http_response.body)),
data_valid: true)
# data_valid: Sign.verify(res, @config))
end
def flow_id