aboutsummaryrefslogtreecommitdiff
path: root/http/router.go
diff options
context:
space:
mode:
Diffstat (limited to 'http/router.go')
-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)
})