mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 01:41:05 -05:00
Use the right date for the method
This commit is contained in:
@@ -299,4 +299,4 @@ def populate_monthly_billing():
|
|||||||
yesterday = datetime.utcnow() - timedelta(days=1)
|
yesterday = datetime.utcnow() - timedelta(days=1)
|
||||||
start_date, end_date = get_month_start_end_date(yesterday)
|
start_date, end_date = get_month_start_end_date(yesterday)
|
||||||
services = get_service_ids_that_need_sms_billing_populated(start_date=start_date, end_date=end_date)
|
services = get_service_ids_that_need_sms_billing_populated(start_date=start_date, end_date=end_date)
|
||||||
[create_or_update_monthly_billing_sms(service_id=s.service_id, billing_month=end_date) for s in services]
|
[create_or_update_monthly_billing_sms(service_id=s.service_id, billing_month=yesterday) for s in services]
|
||||||
|
|||||||
Reference in New Issue
Block a user