lib/simple_segment/operations/group.rb in simple_segment-0.2.1 vs lib/simple_segment/operations/group.rb in simple_segment-0.3.0
- old
+ new
@@ -8,10 +8,10 @@
def build_payload
raise ArgumentError, 'group_id must be present' \
unless options[:group_id]
base_payload.merge(
- traits: options[:traits],
+ traits: options[:traits] && isoify_dates!(options[:traits]),
groupId: options[:group_id]
)
end
end
end