diff options
author | Julio Capote <jcapote@gmail.com> | 2023-01-02 14:08:11 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2023-01-02 14:08:11 +0000 |
commit | 91a081a2bc16540c37ac76a719ab4dd79608ed5d (patch) | |
tree | 59769446d642ec591f7988ed19657fde9480a35c /http | |
parent | 8d23867d2c6d3c6f0dd9681192b9b8642ceea254 (diff) | |
download | communique-91a081a2bc16540c37ac76a719ab4dd79608ed5d.tar.gz |
rename profile to actor
Diffstat (limited to '')
-rw-r--r-- | http/router.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http/router.go b/http/router.go index 23843c4..f763c79 100644 --- a/http/router.go +++ b/http/router.go @@ -49,7 +49,7 @@ func (s *Router) Start(zapWriter io.Writer) { // "User" endpoint router.GET("/actors/:actor", func(c *gin.Context) { actorParam := c.Param("actor") - resource, err := s.registry.Profile(actorParam) + resource, err := s.registry.Actor(actorParam) render(c, resource, err) }) |