mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-22 18:56:15 +02:00
Fix typo causing test fail
This commit is contained in:
parent
50ede03476
commit
40a64a1e86
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ class Command(BaseCommand):
|
|||
if request.requested_domain is not None and request.requested_domain.name is not None:
|
||||
domain_name = request.requested_domain.name
|
||||
|
||||
request_is_approved = request.state == DomainRequest.DomainRequestStatus.APPROVED
|
||||
request_is_approved = request.status == DomainRequest.DomainRequestStatus.APPROVED
|
||||
if request_is_approved and domain_name is not None:
|
||||
request.is_election_board = domain_name in self.domains_with_election_boards_set
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue