diff --git a/app/models.py b/app/models.py index 5739f1659..639d619d3 100644 --- a/app/models.py +++ b/app/models.py @@ -1406,6 +1406,8 @@ class ServiceLetterContact(db.Model): def serialize(self): return { + 'id': str(self.id), + 'service_id': str(self.service_id), 'contact_block': self.contact_block, 'is_default': self.is_default, 'created_at': self.created_at.strftime(DATETIME_FORMAT), diff --git a/app/schemas.py b/app/schemas.py index f2fe4ab82..96f64a24c 100644 --- a/app/schemas.py +++ b/app/schemas.py @@ -209,6 +209,7 @@ class ServiceSchema(BaseSchema): 'service_sms_senders', 'monthly_billing', 'reply_to_email_addresses', + 'letter_contacts', ) strict = True