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:
Chris Hill-Scott
2018-04-19 14:01:45 +01:00
parent cea7a027e3
commit b28e8691a6
2 changed files with 18 additions and 18 deletions

View File

@@ -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