lib/redis/commands/streams.rb in redis-5.0.4 vs lib/redis/commands/streams.rb in redis-5.0.5
- old
+ new
@@ -51,10 +51,10 @@
args << "MAXLEN"
args << "~" if approximate
args << maxlen
end
args << id
- args.concat(entry.to_a.flatten)
+ args.concat(entry.flatten)
send_command(args)
end
# Trims older entries of the stream if needed.
#