mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 02:11:11 -05:00
Added the else so the entire table does not rebuild.
This commit is contained in:
@@ -211,7 +211,7 @@ def populate_monthly_billing(year, service_id=None, month=None):
|
|||||||
|
|
||||||
if service_id and month:
|
if service_id and month:
|
||||||
populate(service_id, year, month)
|
populate(service_id, year, month)
|
||||||
|
else:
|
||||||
service_ids = get_service_ids_that_need_billing_populated(
|
service_ids = get_service_ids_that_need_billing_populated(
|
||||||
start_date=datetime(2016, 5, 1), end_date=datetime(2017, 8, 16)
|
start_date=datetime(2016, 5, 1), end_date=datetime(2017, 8, 16)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user