Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Commit

Permalink
Fix bug with subscriptions to all.
Browse files Browse the repository at this point in the history
  • Loading branch information
GraylinKim committed Nov 7, 2013
1 parent b8b1677 commit 23fe7e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ public void execute(CommandLine opts) throws Exception


for (BillBuzzUser user : getUsers(runner)) {
logger.info("Gathering updates for: "+user.getEmail());

// For every user, get a list of subscribed sponsors.
Set<BillBuzzSenator> userSubscriptions = new TreeSet<BillBuzzSenator>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public static List<BillBuzzSubscription> getSubscriptions(HttpServletRequest req
List<BillBuzzSubscription> subscriptions = new ArrayList<BillBuzzSubscription>();

if (all != null) {
BillBuzzSubscription subscription = new BillBuzzSubscription(userId, "sponsor", "all", now);
BillBuzzSubscription subscription = new BillBuzzSubscription(userId, "all", "all", now);
subscriptions.add(subscription);
}
else {
Expand Down

0 comments on commit 23fe7e6

Please sign in to comment.