mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 15:15:38 -05:00
First commit
This commit is contained in:
@@ -321,9 +321,8 @@ class Template(db.Model):
|
||||
)
|
||||
|
||||
def serialize(self):
|
||||
|
||||
serialized = {
|
||||
"id": self.id,
|
||||
"id": str(self.id),
|
||||
"type": self.template_type,
|
||||
"created_at": self.created_at.strftime(DATETIME_FORMAT),
|
||||
"updated_at": self.updated_at.strftime(DATETIME_FORMAT) if self.updated_at else None,
|
||||
|
||||
Reference in New Issue
Block a user