Add (for now) empty route for note reactions
This commit is contained in:
parent
e06d955f98
commit
2b93d51be1
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
5
web/public/api/activitypub/noteReactions.go
Normal file
5
web/public/api/activitypub/noteReactions.go
Normal file
|
@ -0,0 +1,5 @@
|
|||
package activitypub
|
||||
|
||||
import "net/http"
|
||||
|
||||
func noteReactions(w http.ResponseWriter, r *http.Request) {}
|
Loading…
Reference in a new issue