This commit is contained in:
David Kennedy 2024-11-06 12:26:40 -05:00
parent e948dc4311
commit e013dccba1
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
2 changed files with 38 additions and 13 deletions

View file

@ -66,7 +66,7 @@ def get_portfolio_json(request):
if portfolio.senior_official:
senior_official = model_to_dict(
portfolio.senior_official,
fields=["first_name", "last_name", "title", "phone", "email"]
fields=["id", "first_name", "last_name", "title", "phone", "email"]
)
# The phone number field isn't json serializable, so we
# convert this to a string first if it exists.