aboutsummaryrefslogtreecommitdiff
path: root/http
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 /http
parent8d23867d2c6d3c6f0dd9681192b9b8642ceea254 (diff)
downloadcommunique-91a081a2bc16540c37ac76a719ab4dd79608ed5d.tar.gz
rename profile to actor
Diffstat (limited to 'http')
-rw-r--r--http/router.go2
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)
})