diff options
Diffstat (limited to 'services/domain')
| -rw-r--r-- | services/domain/domain.go | 2 | ||||
| -rw-r--r-- | services/domain/messages.go | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/services/domain/domain.go b/services/domain/domain.go index 91ca1e9..4047ec0 100644 --- a/services/domain/domain.go +++ b/services/domain/domain.go @@ -162,4 +162,4 @@ func deleteAllDNSRecords(domainID uint) { dnsRepo.DeleteMXRecordsByDomainID(domainID) dnsRepo.DeleteTXTRecordsByDomainID(domainID) dnsRepo.DeleteSRVRecordsByDomainID(domainID) -}
\ No newline at end of file +} diff --git a/services/domain/messages.go b/services/domain/messages.go index e8b0ae3..c279511 100644 --- a/services/domain/messages.go +++ b/services/domain/messages.go @@ -7,8 +7,8 @@ const ( DomainHasMailboxes = "Cannot delete a domain that has mailboxes. Remove all mailboxes first." DomainNameInvalid = "Domain name must contain only lowercase letters, numbers, and hyphens." DomainNameRequired = "Domain name is required." - DomainNotFound = "Domain not found." - DomainTLDRequired = "A TLD must be selected for the domain." + DomainNotFound = "Domain not found." + DomainTLDRequired = "A TLD must be selected for the domain." TLDAlreadyExists = "A TLD with this name already exists." TLDCreationFailed = "Failed to create TLD." TLDDeletionFailed = "Failed to delete TLD." |
