mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-17 04:58:50 -04:00
Update limit to message_limit.
Further db changes and updates. Remove traceback print out. Fix bug in passing template id to a task.
This commit is contained in:
@@ -112,7 +112,7 @@ def sample_service(notify_db,
|
||||
user = sample_user(notify_db, notify_db_session)
|
||||
data = {
|
||||
'name': service_name,
|
||||
'limit': limit,
|
||||
'message_limit': limit,
|
||||
'active': False,
|
||||
'restricted': restricted,
|
||||
'email_from': email_from
|
||||
@@ -285,7 +285,7 @@ def sample_notification(notify_db,
|
||||
template=None,
|
||||
job=None,
|
||||
to_field=None,
|
||||
status='sent',
|
||||
status='sending',
|
||||
reference=None,
|
||||
created_at=datetime.utcnow()):
|
||||
if service is None:
|
||||
|
||||
Reference in New Issue
Block a user