lib/ldclient-rb/events.rb in launchdarkly-server-sdk-5.5.12 vs lib/ldclient-rb/events.rb in launchdarkly-server-sdk-5.6.0
- old
+ new
@@ -454,9 +454,10 @@
if @inline_users
out[:user] = process_user(event)
else
out[:userKey] = event[:user].nil? ? nil : event[:user][:key]
end
+ out[:metricValue] = event[:metricValue] if event.has_key?(:metricValue)
out
when "index"
{
kind: "index",
creationDate: event[:creationDate],