From b5591aa8deed658cd3bb032d4800d7eb1c5b8a3f Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Sun, 1 Jan 2023 17:00:31 -0500 Subject: working note lookups --- http/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'http/router.go') 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") -- cgit v1.2.3