lib/uniq_logger/base.rb in uniq_logger-0.1.6 vs lib/uniq_logger/base.rb in uniq_logger-0.1.7

- old
+ new

@@ -91,10 +91,10 @@ request.form_data = { param_id.to_sym => uniq_id, param_data.to_sym => data_to_save.to_json } response = http.request(request) json = JSON.parse response.body - if json['response'] == "true" + if json['response'] == "true" || json['response'] == true return true else return false end rescue