aboutsummaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--registry/registry.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/registry/registry.go b/registry/registry.go
index e8ed66c..7091819 100644
--- a/registry/registry.go
+++ b/registry/registry.go
@@ -34,9 +34,10 @@ func (r *Registry) LookupByName(name string) *resources.Profile {
if r.LookupResource(fqdn) == nil {
return nil
}
- return resources.RenderProfile()
+ return resources.RenderProfile(name, r.cfg.Domain)
}
+// TODO extract an existsbyname existsbyfqdn from this
func (r *Registry) LookupResource(fqdn string) *resources.WebfingerResource {
handler, ok := r.handlerMap[fqdn]
if !ok {