spec/events_spec.rb in launchdarkly-server-sdk-5.7.1 vs spec/events_spec.rb in launchdarkly-server-sdk-5.7.2

- old
+ new

@@ -576,10 +576,10 @@ @result = LaunchDarkly::Impl::EventSenderResult.new(true, false, nil) @analytics_payloads = Queue.new @diagnostic_payloads = Queue.new end - def send_event_data(data, is_diagnostic) + def send_event_data(data, description, is_diagnostic) (is_diagnostic ? @diagnostic_payloads : @analytics_payloads).push(JSON.parse(data, symbolize_names: true)) @result end end end