diff options
Diffstat (limited to '')
-rw-r--r-- | registry/registry.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/registry/registry.go b/registry/registry.go index 21f4622..a24d2d7 100644 --- a/registry/registry.go +++ b/registry/registry.go @@ -31,12 +31,12 @@ func NewRegistry(cfg config.Config, persister *models.Persister) *Registry { return ® } -func (r *Registry) Profile(name string) (map[string]interface{}, error) { +func (r *Registry) Actor(name string) (map[string]interface{}, error) { handler := r.findByName(name) if handler == nil { return nil, nil } - return views.RenderProfile(handler.handlerCfg.Name, r.cfg.Domain) + return views.RenderActor(handler.handlerCfg.Name, r.cfg.Domain) } func (r *Registry) Outbox(name string) (map[string]interface{}, error) { |