diff options
author | Julio Capote <jcapote@gmail.com> | 2023-01-08 14:11:14 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2023-01-08 14:11:14 +0000 |
commit | ff1d7ddc3f5e386b9c8107456c54ca5f985c7b4b (patch) | |
tree | ed1b17c06e2fce209178719a67ee4f92feeec477 /controller/controller.go | |
parent | ffae32bca78d82d1cb0afd3e51a2582b0ec1f58d (diff) | |
download | communique-ff1d7ddc3f5e386b9c8107456c54ca5f985c7b4b.tar.gz |
rename last bit of profile to actor
Diffstat (limited to '')
-rw-r--r-- | controller/controller.go | 8 |
1 files changed, 4 insertions, 4 deletions
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 } |