Add org types table

This commit is contained in:
Pea Tyczynska
2019-07-10 18:17:33 +01:00
parent 663ab6d96b
commit 9dfc550f46
9 changed files with 93 additions and 15 deletions

View File

@@ -107,7 +107,8 @@ def create_service(
organisation_type='central',
check_if_service_exists=False,
go_live_user=None,
go_live_at=None
go_live_at=None,
crown=True
):
if check_if_service_exists:
service = Service.query.filter_by(name=service_name).first()
@@ -121,7 +122,8 @@ def create_service(
prefix_sms=prefix_sms,
organisation_type=organisation_type,
go_live_user=go_live_user,
go_live_at=go_live_at
go_live_at=go_live_at,
crown=crown
)
dao_create_service(service, service.created_by, service_id, service_permissions=service_permissions)