Skip to content

Commit

Permalink
Revert "Fixed mongo cursor not found"
Browse files Browse the repository at this point in the history
  • Loading branch information
bderusha authored Mar 3, 2020
1 parent ddf4b6a commit 9c8cdcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def notifications_by_date_range_and_user_ids(start_date_time, end_date_time, use

#now build a thread to users subscription map
subscriptions_map = {}
subscriptions.no_timeout.each do |s|
subscriptions.each do |s|
if not subscriptions_map.keys.include? s.source_id.to_s
subscriptions_map[s.source_id.to_s] = []
end
Expand Down

0 comments on commit 9c8cdcf

Please sign in to comment.