mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
Revert "Remove keyword args from call to create service"
This reverts commit bde696cf56.
The caching decorator supports keyword arguments now.
This commit is contained in:
@@ -29,12 +29,12 @@ def _create_service(service_name, organisation_type, email_from, form):
|
||||
free_sms_fragment_limit = current_app.config['DEFAULT_FREE_SMS_FRAGMENT_LIMITS'].get(organisation_type)
|
||||
try:
|
||||
service_id = service_api_client.create_service(
|
||||
service_name,
|
||||
organisation_type,
|
||||
current_app.config['DEFAULT_SERVICE_LIMIT'],
|
||||
True,
|
||||
session['user_id'],
|
||||
email_from,
|
||||
service_name=service_name,
|
||||
organisation_type=organisation_type,
|
||||
message_limit=current_app.config['DEFAULT_SERVICE_LIMIT'],
|
||||
restricted=True,
|
||||
user_id=session['user_id'],
|
||||
email_from=email_from,
|
||||
)
|
||||
session['service_id'] = service_id
|
||||
|
||||
|
||||
Reference in New Issue
Block a user