aboutsummaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-02 14:08:11 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-02 14:08:11 +0000
commit91a081a2bc16540c37ac76a719ab4dd79608ed5d (patch)
tree59769446d642ec591f7988ed19657fde9480a35c /registry
parent8d23867d2c6d3c6f0dd9681192b9b8642ceea254 (diff)
downloadcommunique-91a081a2bc16540c37ac76a719ab4dd79608ed5d.tar.gz
rename profile to actor
Diffstat (limited to 'registry')
-rw-r--r--registry/registry.go4
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 &reg
}
-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) {