Remove old status schema references

This commit is contained in:
Imdad Ahad
2017-07-10 15:50:57 +01:00
parent a9c1338873
commit 44c5831f3d
2 changed files with 2 additions and 4 deletions

View File

@@ -260,7 +260,7 @@ class NotificationModelSchema(BaseSchema):
class Meta:
model = models.Notification
strict = True
exclude = ('_personalisation', 'job', 'service', 'template', 'api_key', '_status_enum', '_status_fkey')
exclude = ('_personalisation', 'job', 'service', 'template', 'api_key',)
status = fields.String(required=False)
@@ -416,7 +416,7 @@ class NotificationWithTemplateSchema(BaseSchema):
class Meta:
model = models.Notification
strict = True
exclude = ('_personalisation', '_status_enum', '_status_fkey')
exclude = ('_personalisation', )
template = fields.Nested(
TemplateSchema,