Merge branch 'main' into za/1128-email-bouncebacks

This commit is contained in:
zandercymatics 2024-01-03 11:58:07 -07:00
commit 695015b94f
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
35 changed files with 1418 additions and 157 deletions

View file

@ -751,6 +751,7 @@ class DomainApplication(TimeStampedModel):
# Only reject if it exists on EPP
if domain_state != Domain.State.UNKNOWN:
self.approved_domain.deletedInEpp()
self.approved_domain.save()
self.approved_domain.delete()
self.approved_domain = None
except Exception as err:
@ -789,6 +790,7 @@ class DomainApplication(TimeStampedModel):
# Only reject if it exists on EPP
if domain_state != Domain.State.UNKNOWN:
self.approved_domain.deletedInEpp()
self.approved_domain.save()
self.approved_domain.delete()
self.approved_domain = None
except Exception as err: