mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-22 08:21:13 -05:00
Add id and service_id to the serialize method on ServiceEmailReplyTo
This commit is contained in:
@@ -1374,6 +1374,8 @@ class ServiceEmailReplyTo(db.Model):
|
||||
|
||||
def serialize(self):
|
||||
return {
|
||||
'id': str(self.id),
|
||||
'service_id': str(self.service_id),
|
||||
'email_address': self.email_address,
|
||||
'is_default': self.is_default,
|
||||
'created_at': self.created_at.strftime(DATETIME_FORMAT),
|
||||
|
||||
Reference in New Issue
Block a user