From 91a081a2bc16540c37ac76a719ab4dd79608ed5d Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Mon, 2 Jan 2023 09:08:11 -0500 Subject: rename profile to actor --- registry/registry.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'registry/registry.go') 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) { -- cgit v1.2.3