Remove accidental return True

This commit is contained in:
zandercymatics 2024-04-15 12:27:35 -06:00
parent 7013766d39
commit 09b4e7487b
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -72,7 +72,7 @@ def check_domain_available(domain):
given domain doesn't end with .gov, ".gov" is added when looking for
a match. If check fails, throws a RegistryError.
"""
return True
Domain = apps.get_model("registrar.Domain")
if domain.endswith(".gov"):