mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
send organisation back in correct variable
This commit is contained in:
@@ -283,7 +283,7 @@ def service_set_branding_and_org(service_id):
|
||||
service_api_client.update_service(
|
||||
service_id,
|
||||
branding=form.branding_type.data,
|
||||
organisation_id=organisation
|
||||
organisation=organisation
|
||||
)
|
||||
return redirect(url_for('.service_settings', service_id=service_id))
|
||||
|
||||
|
||||
@@ -92,7 +92,7 @@ class ServiceAPIClient(NotificationsAPIClient):
|
||||
'sms_sender',
|
||||
'created_by',
|
||||
'branding',
|
||||
'organisation_id'
|
||||
'organisation'
|
||||
}
|
||||
if disallowed_attributes:
|
||||
raise TypeError('Not allowed to update service attributes: {}'.format(
|
||||
|
||||
Reference in New Issue
Block a user