more fixes - don't know why I added these lines in

This commit is contained in:
CocoByte 2024-06-11 20:29:25 -06:00
parent dc48025a1d
commit cfcdac41ef
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F

View file

@ -125,7 +125,6 @@ class Command(BaseCommand):
if request_is_approved and domain_name is not None and not request.is_election_board:
request.is_election_board = domain_name in self.domains_with_election_boards_set
self.sync_yes_no_form_fields()
self.sync_organization_type(DomainRequest, request)
self.request_to_update.append(request)
logger.info(f"Updating {request} => {request.organization_type}")
@ -176,7 +175,6 @@ class Command(BaseCommand):
if not info.is_election_board:
info.is_election_board = domain_name in self.domains_with_election_boards_set
self.sync_yes_no_form_fields()
self.sync_organization_type(DomainInformation, info)
self.di_to_update.append(info)