mirror of
https://gitlab.com/commento/commento.git
synced 2026-11-01 01:16:21 -05:00
router_api.go: expose /api/comment/count endpoint
This commit is contained in:
1 parent
283a32e2bb
commit
988a9fb1a1
1 file changed
+1
@@ -31,6 +31,7 @@ func apiRouterInit(router *mux.Router) error {
|
||||
|
||||
router.HandleFunc("/api/comment/new", commentNewHandler).Methods("POST")
|
||||
router.HandleFunc("/api/comment/list", commentListHandler).Methods("POST")
|
||||
router.HandleFunc("/api/comment/count", commentCountHandler).Methods("POST")
|
||||
router.HandleFunc("/api/comment/vote", commentVoteHandler).Methods("POST")
|
||||
router.HandleFunc("/api/comment/approve", commentApproveHandler).Methods("POST")
|
||||
router.HandleFunc("/api/comment/delete", commentDeleteHandler).Methods("POST")
|
||||
|
||||
Reference in new issue
Block a user