mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-24 00:06:16 -04:00
Try using nested transactions to rollback
This commit is contained in:
@@ -83,6 +83,8 @@ def get_free_sms_fragment_limit(service_id):
|
||||
annual_billing = dao_create_or_update_annual_billing_for_year(service_id,
|
||||
annual_billing.free_sms_fragment_limit,
|
||||
financial_year_start)
|
||||
from app import db
|
||||
db.session.commit()
|
||||
|
||||
return jsonify(annual_billing.serialize_free_sms_items()), 200
|
||||
|
||||
|
||||
Reference in New Issue
Block a user