mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-24 16:23:44 -04:00
Merge pull request #589 from alphagov/org-rendering
Render organisational branding in emails
This commit is contained in:
@@ -103,6 +103,8 @@ class ProviderDetailsSchema(BaseSchema):
|
||||
class ServiceSchema(BaseSchema):
|
||||
|
||||
created_by = field_for(models.Service, 'created_by', required=True)
|
||||
organisation = field_for(models.Service, 'organisation')
|
||||
branding = field_for(models.Service, 'branding')
|
||||
|
||||
class Meta:
|
||||
model = models.Service
|
||||
@@ -114,8 +116,7 @@ class ServiceSchema(BaseSchema):
|
||||
'old_id',
|
||||
'template_statistics',
|
||||
'service_provider_stats',
|
||||
'service_notification_stats',
|
||||
'organisation')
|
||||
'service_notification_stats')
|
||||
strict = True
|
||||
|
||||
@validates('sms_sender')
|
||||
|
||||
Reference in New Issue
Block a user