mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-27 03:23:51 +02:00
temp
This commit is contained in:
parent
e948dc4311
commit
e013dccba1
2 changed files with 38 additions and 13 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue