lib/mixpanel/person.rb in mixpanel-4.0.8 vs lib/mixpanel/person.rb in mixpanel-4.0.9
- old
+ new
@@ -79,10 +79,10 @@
data = build_person_unset request_properties, properties
else
data = build_person action, request_properties, properties
end
- parse_response post_request(options[:url], { data: encoded_data(data) }, options[:async])
+ parse_response post_request(options[:url], { :data => encoded_data(data) }, options[:async])
end
def person_request_properties(request_properties_or_distinct_id)
default = {:token => @token, :ip => ip}
if request_properties_or_distinct_id.respond_to? :to_hash