Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix bug with subscriptions to all.

  • Loading branch information...
commit 23fe7e6c22e940b326e3c9fedce4f749fb803218 1 parent b8b1677
@GraylinKim GraylinKim authored
View
1  src/main/java/gov/nysenate/billbuzz/scripts/SendDigests.java
@@ -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>();
View
2  src/main/java/gov/nysenate/billbuzz/util/FormProcessor.java
@@ -105,7 +105,7 @@ public static BillBuzzUser processSubscriptionForm(HttpServletRequest request, D
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 {
Please sign in to comment.
Something went wrong with that request. Please try again.