refactor: remove db.commit() from audit_service.log_action, all callers use UoW
This commit is contained in:
@@ -157,6 +157,7 @@ def check_and_run_recurring_campaigns(db: Session) -> int:
|
||||
"pattern": campaign.recurrence_pattern,
|
||||
},
|
||||
)
|
||||
db.commit()
|
||||
|
||||
# Notify
|
||||
if campaign.created_by:
|
||||
|
||||
Reference in New Issue
Block a user