From ff1d7ddc3f5e386b9c8107456c54ca5f985c7b4b Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Sun, 8 Jan 2023 09:11:14 -0500 Subject: rename last bit of profile to actor --- controller/controller.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'controller/controller.go') diff --git a/controller/controller.go b/controller/controller.go index e2b21b8..91ac267 100644 --- a/controller/controller.go +++ b/controller/controller.go @@ -177,7 +177,7 @@ func (r *Controller) Following(name string) (map[string]interface{}, error) { if handler == nil { return nil, nil } - profile, err := urls.UrlProfile(name, r.cfg.Domain) + profile, err := urls.UrlActor(name, r.cfg.Domain) if err != nil { return nil, err } @@ -200,7 +200,7 @@ func (r *Controller) Followers(name string) (map[string]interface{}, error) { if handler == nil { return nil, nil } - profile, err := urls.UrlProfile(name, r.cfg.Domain) + profile, err := urls.UrlActor(name, r.cfg.Domain) if err != nil { return nil, err } @@ -248,7 +248,7 @@ func (r *Controller) Inbox(name string, req *http.Request, payload []byte) error return err } - actorUrl, err := urls.UrlProfile(handler.handlerCfg.Name, r.cfg.Domain) + actorUrl, err := urls.UrlActor(handler.handlerCfg.Name, r.cfg.Domain) if err != nil { return err } @@ -261,7 +261,7 @@ func (r *Controller) Inbox(name string, req *http.Request, payload []byte) error inboxUrl := inboxProp.GetIRI() logger.With("actor", idPropUrl).With("inbox", inboxUrl).Debugf("follow") - actorKeyUrl, err := urls.UrlProfileKey(handler.handlerCfg.Name, r.cfg.Domain) + actorKeyUrl, err := urls.UrlActorKey(handler.handlerCfg.Name, r.cfg.Domain) if err != nil { return err } -- cgit v1.2.3