Skip to content

Commit

Permalink
Merge pull request #312 from edx/revert-308-asad/prod-1087-fix
Browse files Browse the repository at this point in the history
Revert "Fixed mongo cursor not found"
  • Loading branch information
Bill DeRusha authored Mar 3, 2020
2 parents ddf4b6a + 9c8cdcf commit ba25f39
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 ba25f39

Please sign in to comment.