Skip to content

Commit

Permalink
Merge pull request #3213 from cisagov/nl/3210-fix-converted-federal-a…
Browse files Browse the repository at this point in the history
…gency-none-check

#3210 - Fix converted_federal_agency in domain information
  • Loading branch information
CocoByte authored Dec 11, 2024
2 parents 2df6603 + b6ae867 commit c0f0cf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/registrar/models/domain_information.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,8 @@ def converted_generic_org_type(self):
@property
def converted_federal_agency(self):
if self.portfolio:
return self.portfolio.federal_agency.agency
return self.federal_agency.agency
return self.portfolio.federal_agency
return self.federal_agency

@property
def converted_federal_type(self):
Expand Down

0 comments on commit c0f0cf8

Please sign in to comment.