lib/stream/reactions.rb in stream-ruby-3.0.0 vs lib/stream/reactions.rb in stream-ruby-3.0.1
- old
+ new
@@ -25,10 +25,10 @@
make_reaction_request(:put, {}, data, :endpoint => uri)
end
def delete(reaction_id)
uri = "/reaction/#{reaction_id}/"
- make_reaction_request(:delete, {}, data, :endpoint => uri)
+ make_reaction_request(:delete, {}, {}, :endpoint => uri)
end
def add_child(kind, parent_id, user_id, data: nil, target_feeds: nil)
data = {
kind: kind,