aboutsummaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-01 22:00:31 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-01 22:00:31 +0000
commitb5591aa8deed658cd3bb032d4800d7eb1c5b8a3f (patch)
tree9ad828d39222b5fb0532e2cd077a6efe6d3acc54 /http
parentaf4dc7f3f05fad8fe13edf0173a6dee5e4148bd3 (diff)
downloadcommunique-b5591aa8deed658cd3bb032d4800d7eb1c5b8a3f.tar.gz
working note lookups
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")