lib/intercom/service/count.rb in intercom-3.5.2 vs lib/intercom/service/count.rb in intercom-3.5.3

- old
+ new

@@ -13,10 +13,12 @@ def for_app find({}) end def for_type(type:, count: nil) - find(type: type, count: count) + params = {type: type} + params[:count] = count if count + find(params) end end end end