1
mirror of https://gitlab.com/commento/commento.git synced 2025-06-29 22:56:37 -04:00

api: rename initAPIRouter

This commit is contained in:
Adhityaa Chandrasekar
2018-07-24 12:16:02 +05:30
parent 6701b4e863
commit 14002df4b9
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ import (
"github.com/gorilla/mux"
)
func initAPIRouter(router *mux.Router) error {
func apiRouterInit(router *mux.Router) error {
router.HandleFunc("/api/owner/new", ownerNewHandler).Methods("POST")
router.HandleFunc("/api/owner/confirm-hex", ownerConfirmHexHandler).Methods("GET")
router.HandleFunc("/api/owner/login", ownerLoginHandler).Methods("POST")