diff options
author | Julio Capote <jcapote@gmail.com> | 2023-01-01 22:00:31 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2023-01-01 22:00:31 +0000 |
commit | b5591aa8deed658cd3bb032d4800d7eb1c5b8a3f (patch) | |
tree | 9ad828d39222b5fb0532e2cd077a6efe6d3acc54 /http/router.go | |
parent | af4dc7f3f05fad8fe13edf0173a6dee5e4148bd3 (diff) | |
download | communique-b5591aa8deed658cd3bb032d4800d7eb1c5b8a3f.tar.gz |
working note lookups
Diffstat (limited to 'http/router.go')
-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 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") |