Update the billable units with the page count from the response file for letter notifications.

This commit is contained in:
Rebecca Law
2017-10-27 13:53:55 +01:00
parent 43843eb5d1
commit 76c8b15f59
4 changed files with 54 additions and 15 deletions

View File

@@ -493,7 +493,6 @@ def dao_update_notifications_for_job_to_sent_to_dvla(job_id, provider):
@statsd(namespace="dao")
@transactional
def dao_update_notifications_by_reference(references, update_dict):
now = datetime.utcnow()
updated_count = Notification.query.filter(
Notification.reference.in_(references)
).update(