mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-23 07:46:06 -04:00
Update template json to return created_at and updated_at. Also fixed a bug where updated_at was not being added to the templates_history model.
This commit is contained in:
@@ -108,7 +108,7 @@ class BaseTemplateSchema(BaseSchema):
|
||||
|
||||
class Meta:
|
||||
model = models.Template
|
||||
exclude = ("updated_at", "created_at", "service_id", "jobs")
|
||||
exclude = ("service_id", "jobs")
|
||||
|
||||
|
||||
class TemplateSchema(BaseTemplateSchema):
|
||||
|
||||
Reference in New Issue
Block a user