resolve merge issues with stray INVESTIGATING statuses

This commit is contained in:
rachidatecs 2023-07-14 15:47:09 -04:00
parent 267f76eb62
commit 0547e88b00
No known key found for this signature in database
GPG key ID: 3CEBBFA7325E5525
2 changed files with 3 additions and 3 deletions

View file

@ -625,7 +625,7 @@ class DomainApplication(TimeStampedModel):
def withdraw(self):
"""Withdraw an application that has been submitted."""
@transition(field="status", source=[INVESTIGATING, APPROVED], target=REJECTED)
@transition(field="status", source=[IN_REVIEW, APPROVED], target=REJECTED)
def reject(self, updated_domain_application):
"""Reject an application that has been submitted.