mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-30 09:20:15 +02:00
Update domain_helper.py
This commit is contained in:
parent
ce361cdd3b
commit
05ebe98adb
1 changed files with 4 additions and 3 deletions
|
@ -91,9 +91,10 @@ class DomainHelper:
|
|||
error_return_type, code=error_map.get(type(error))
|
||||
)
|
||||
else:
|
||||
response = DomainHelper._return_form_error_or_json_response(
|
||||
error_return_type, code="success", available=True
|
||||
)
|
||||
if error_return_type != ValidationErrorReturnType.FORM_VALIDATION_ERROR:
|
||||
response = DomainHelper._return_form_error_or_json_response(
|
||||
error_return_type, code="success", available=True
|
||||
)
|
||||
return (validated, response)
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue