Update src/registrar/models/domain_request.py

Co-authored-by: zandercymatics <141044360+zandercymatics@users.noreply.github.com>
This commit is contained in:
Rebecca H. 2024-08-01 11:55:36 -07:00 committed by GitHub
parent 6c82ec9dc2
commit 4b2919d108
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -218,9 +218,6 @@ class DomainRequest(TimeStampedModel):
@classmethod
def get_org_label(cls, org_name: str):
# Translating the key that is given to the direct readable value
if not org_name:
return None
return cls(org_name).label if org_name else None
class OrganizationChoicesVerbose(models.TextChoices):