mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 15:15:38 -05:00
For the NotificationWithTemplateSchema exclude the scheduled_notifications so we do not query that table.
The scheduled_notifications is not used as of yet.
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