1
mirror of https://gitlab.com/commento/commento.git synced 2025-06-29 10:55:40 -04:00

router_api.go: expose /api/comment/count endpoint

This commit is contained in:
Adhityaa Chandrasekar
2018-09-23 00:42:16 -04:00
parent 283a32e2bb
commit 988a9fb1a1

View File

@ -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")