Add (for now) empty route for note reactions

This commit is contained in:
Melody Becker 2025-05-13 14:06:57 +02:00
parent e06d955f98
commit 2b93d51be1
2 changed files with 6 additions and 0 deletions

View file

@ -16,5 +16,6 @@ func BuildActivitypubRouter() http.Handler {
router.HandleFunc("/activity/reject/{id}", activityReject)
router.HandleFunc("/activity/update/{id}", activityUpdate)
router.HandleFunc("/note/{id}", objectNote)
router.HandleFunc("/note/{id}/reactions", noteReactions)
return router
}

View file

@ -0,0 +1,5 @@
package activitypub
import "net/http"
func noteReactions(w http.ResponseWriter, r *http.Request) {}