aboutsummaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
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 204243f..04fa583 100644
--- a/http/router.go
+++ b/http/router.go
@@ -96,7 +96,7 @@ func (s *Router) Start(zapWriter io.Writer) {
actorParam := c.Param("actor")
idParam := c.Param("id")
var resource map[string]interface{}
- resource, _ = s.registry.Activity(actorParam, idParam)
+ resource, _ = s.registry.Note(actorParam, idParam)
if resource != nil {
c.Writer.Header().Set("Content-Type", "application/activity+json")