diff --git a/api/services.go b/api/services.go index 859c303..3012a79 100644 --- a/api/services.go +++ b/api/services.go @@ -76,7 +76,7 @@ func analyzeDomain(opts *config.Options, domain *happydns.Domain, body io.Reader } } - services, aliases, defaultTTL, err := svcs.AnalyzeZone(domain.DomainName, zone) + services, defaultTTL, err := svcs.AnalyzeZone(domain.DomainName, zone) if err != nil { return APIErrorResponse{ err: err, @@ -85,7 +85,6 @@ func analyzeDomain(opts *config.Options, domain *happydns.Domain, body io.Reader return APIResponse{ response: map[string]interface{}{ - "aliases": aliases, "services": services, "defaultTTL": defaultTTL, }, diff --git a/api/zones.go b/api/zones.go index 2c917d1..a0d9f8b 100644 --- a/api/zones.go +++ b/api/zones.go @@ -108,7 +108,6 @@ func getZoneSubdomain(opts *config.Options, domain *happydns.Domain, zone *happy subdomain := strings.TrimSuffix(ps.ByName("subdomain"), "@") return APIResponse{ response: map[string]interface{}{ - "aliases": zone.Aliases[subdomain], "services": zone.Services[subdomain], }, } @@ -188,7 +187,7 @@ func importZone(opts *config.Options, domain *happydns.Domain, body io.Reader) R } } - services, aliases, defaultTTL, err := svcs.AnalyzeZone(domain.DomainName, zone) + services, defaultTTL, err := svcs.AnalyzeZone(domain.DomainName, zone) if err != nil { return APIErrorResponse{ err: err, @@ -198,7 +197,6 @@ func importZone(opts *config.Options, domain *happydns.Domain, body io.Reader) R myZone := &happydns.Zone{ IdAuthor: domain.IdUser, DefaultTTL: defaultTTL, - Aliases: aliases, Services: services, } diff --git a/htdocs/src/components/hSubdomainList.vue b/htdocs/src/components/hSubdomainList.vue index 2140f6b..ab6b169 100644 --- a/htdocs/src/components/hSubdomainList.vue +++ b/htdocs/src/components/hSubdomainList.vue @@ -33,7 +33,7 @@