mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 18:31:13 -05:00
remove organisation from api
This commit is contained in:
@@ -184,11 +184,6 @@ def update_service(service_id):
|
||||
if org_type:
|
||||
service.crown = org_type == 'central'
|
||||
|
||||
# TODO: remove this block after admin is updated to refer to email branding
|
||||
if 'organisation' in req_json:
|
||||
org_id = req_json['organisation']
|
||||
service.email_branding = None if not org_id else EmailBranding.query.get(org_id)
|
||||
|
||||
if 'email_branding' in req_json:
|
||||
email_branding_id = req_json['email_branding']
|
||||
service.email_branding = None if not email_branding_id else EmailBranding.query.get(email_branding_id)
|
||||
|
||||
Reference in New Issue
Block a user