mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 13:39:41 -04:00
Set free SMS limit depending on organisation type
Different parts of government get billed slightly differently, and there’s differences in how much money we’re allowed to give them. Think these numbers are right, but should be double checked.
This commit is contained in:
@@ -20,6 +20,7 @@ class ServiceAPIClient(NotifyAdminAPIClient):
|
||||
self,
|
||||
service_name,
|
||||
organisation_type,
|
||||
free_sms_fragment_limit,
|
||||
message_limit,
|
||||
restricted,
|
||||
user_id,
|
||||
@@ -31,6 +32,7 @@ class ServiceAPIClient(NotifyAdminAPIClient):
|
||||
data = {
|
||||
"name": service_name,
|
||||
"organisation_type": organisation_type,
|
||||
"free_sms_fragment_limit": free_sms_fragment_limit,
|
||||
"active": True,
|
||||
"message_limit": message_limit,
|
||||
"user_id": user_id,
|
||||
|
||||
Reference in New Issue
Block a user