mirror of
https://github.com/GSA/notifications-api.git
synced 2026-07-24 09:58:53 -04:00
remove crown stuff
This commit is contained in:
@@ -8,10 +8,9 @@ post_create_organisation_schema = {
|
||||
"properties": {
|
||||
"name": {"type": "string"},
|
||||
"active": {"type": ["boolean", "null"]},
|
||||
"crown": {"type": "boolean"},
|
||||
"organisation_type": {"enum": ORGANISATION_TYPES},
|
||||
},
|
||||
"required": ["name", "crown", "organisation_type"]
|
||||
"required": ["name", "organisation_type"]
|
||||
}
|
||||
|
||||
post_update_organisation_schema = {
|
||||
@@ -21,7 +20,6 @@ post_update_organisation_schema = {
|
||||
"properties": {
|
||||
"name": {"type": ["string", "null"]},
|
||||
"active": {"type": ["boolean", "null"]},
|
||||
"crown": {"type": ["boolean", "null"]},
|
||||
"organisation_type": {"enum": ORGANISATION_TYPES},
|
||||
},
|
||||
"required": []
|
||||
|
||||
@@ -211,6 +211,7 @@ def send_notifications_on_mou_signed(organisation_id):
|
||||
send_notification_to_queue(saved_notification, research_mode=False, queue=QueueNames.NOTIFY)
|
||||
|
||||
personalisation = {
|
||||
# TODO: needs an approach detached from crown binary
|
||||
'mou_link': '{}/agreement/{}.pdf'.format(
|
||||
current_app.config['ADMIN_BASE_URL'],
|
||||
'crown' if organisation.crown else 'non-crown'
|
||||
|
||||
Reference in New Issue
Block a user