mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 23:55:58 -05:00
Merge pull request #2087 from alphagov/remove-scheduled-notification-from-schema
Don't join to scheduled_notifications
This commit is contained in:
@@ -449,7 +449,7 @@ class NotificationWithTemplateSchema(BaseSchema):
|
||||
class Meta:
|
||||
model = models.Notification
|
||||
strict = True
|
||||
exclude = ('_personalisation', )
|
||||
exclude = ('_personalisation', 'scheduled_notification')
|
||||
|
||||
template = fields.Nested(
|
||||
TemplateSchema,
|
||||
|
||||
Reference in New Issue
Block a user