mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -04:00
Allow platform admins to change rate limit
One less thing we have to go into the database to do, and remember to manually clear the cache for after.
This commit is contained in:
@@ -149,6 +149,7 @@ def service_json(
|
||||
prefix_sms=True,
|
||||
contact_link=None,
|
||||
organisation_id=None,
|
||||
rate_limit=3000,
|
||||
):
|
||||
if users is None:
|
||||
users = []
|
||||
@@ -163,6 +164,7 @@ def service_json(
|
||||
'name': name,
|
||||
'users': users,
|
||||
'message_limit': message_limit,
|
||||
'rate_limit': rate_limit,
|
||||
'active': active,
|
||||
'restricted': restricted,
|
||||
'email_from': email_from,
|
||||
|
||||
Reference in New Issue
Block a user